HNHacker News
TopNewBestAskShowJobs

isbadawi

314 karma · joined June 16, 2011

submissionscomments
isbadawi··on Fast JVM launching without the hassle of persistent JVMs
I don't know how I feel about this: https://github.com/flatland/drip/blob/develop/src/org/flatla...
isbadawi··on Show HN: Parson, lighweight json parser in C
How does this compare to jansson (http://www.digip.org/jansson/), aside from just being a parser?
isbadawi··on Rob Pike: Go at Google
In Java, you can run into situations where two classes share a method, but because they don't implement a common interface, for instance because they're part of two different libraries, you can't e.g. write a method that accepts instances of either. You can't straightforwardly take advantage of polymorphism.

In Go this is never an issue; you can declare an interface that captures the methods you're interested in, and the existing code automatically implements it. It's kind of like duck typing in python (e.g. this function will work on any object that has a method <x>), except it's statically typed.

isbadawi··on Rob Pike: Go at Google
I was a bit confused at slide 35 where he said that Go's declaration syntax is "easier to parse -- no symbol table needed" as I don't typically think of a symbol table being involved in parsing. Here's an interesting comp.compilers thread from 1998 about parsing C++: http://compilers.iecc.com/comparch/article/98-07-199
isbadawi··on Why I Two-Space
He talks about this in the article.
← PreviousPage 3 of 3