This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Больше интеропов, хороших и разных | |
## Введение | |
* Необходимость интеропа в практических проектах | |
* переиспользование кода | |
* разные характеристики производительности языков | |
* интерфейсы к ОС | |
* Виды интеропа | |
* межязыковой (например Java/Kotlin, JavaScript/TypeScript, C/C++) | |
* межрантаймовый (например Java/C++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/olonho/aurora-engine | |
git checkout profiler2 | |
cargo test -p aurora-engine-tests --features mainnet-test test_uniswap_input_multihop -- --nocapture | |
cd engine-tests | |
perf record --call-graph fp -a -F 1000 -g ../target/debug/deps/aurora_engine_tests-548656b2a4ae5b99 test_uniswap_input_multihop | |
perf report -g | |
if profile just `submit` call | |
submit ▒ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rootProject.name = "myproject" | |
pluginManagement { | |
repositories { | |
gradlePluginPortal() | |
maven("https://packages.jetbrains.team/maven/p/ui/dev") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jetbrains.compose.compose | |
plugins { | |
kotlin("jvm") version "1.4.0" | |
id("org.jetbrains.compose") version "0.1.0-demo3" | |
application | |
} | |
repositories { | |
jcenter() |