Skip to content

Instantly share code, notes, and snippets.

@yijunwu
yijunwu / highlight-graphviz-edge.svg
Created June 25, 2020 08:11 — forked from sverweij/highlight-graphviz-edge.html
Highlight an edge in a graphviz generated svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yijunwu
yijunwu / kotlin-frontend.md
Created June 2, 2019 20:14 — forked from sdeleuze/kotlin-frontend.md
My call for Kotlin as a major frontend language

My call for Kotlin as a major frontend language

I try to push for quite a long time for first class support for WebAssembly in Kotlin because I really believe that frontend development is a domain where Kotlin can be as strong as in mobile, and because this is something that would also help to increase even more the adoption on server-side.

I truly appreciate all the work already done by Kotlin/JS and Kotlin/Native teams. The dead code elimination tool and the initial WebAssembly support in Kotlin/Native are important steps in the right direction. But I believe that Kotlin needs now to make frontend a real priority to take it to the next level.

Need for a consistent and unified web frontend strategy

The first point I would like to raise is that what Kotlin needs IMO is a consistent strategy about web frontend wich includes both Javascript and WebAssembly related efforts. I can u

@yijunwu
yijunwu / KotlinDuckTyping.kt
Last active May 29, 2018 06:32 — forked from mikehearn/KotlinDuckTyping.kt
Kotlin duck typing / type classing fiddle
import java.lang.reflect.*
import java.util.*
class A {
fun shout() = println("go team A!")
}
class B {
fun shout() = println("go team B!")
}