Totally minor, but reminded me of my days with java
200 karma · joined August 24, 2012
I'm currently interested in making technical knowledge and thinking more accessible and convenient, and fixing Science in general.
Totally minor, but reminded me of my days with java
I can live on <$10k/yr (maybe as low as $6k)
I imagine myself with $10k being comfortable.
If I get a job (working on it), I'd expect $40k for 2013, would not be too suprised at $60 for some crazy tar-sands job. (I'm a mechanical engineer, and/or programmer).
Supporting myself in Vancouver, BC.
I want more. There is no enough. All money over $10k will go to charity. At least that's the ambition.
Then I tried to build something.
Java-like verbosity. Meh, I can deal with it.
[]byte and string aren't the same. Whatever, a few extra lines and thot cycles here and there, no big deal.
Overly complex library functions. Let me explain this one. In Lua, markdown (discount) is a single function. In Go, there was a bunch of extra stuff that just seemed like noise. Likewise for cypto, Base64, stringwriters, bunch of other stuff.
A bunch of little annoying stuff like that adds up. Eventually I just said fuck it. Maybe I'm not hardcore enough or something, but now I'm back with LuaJIT.
Goroutines are cool, tho. Lua's synchronous threads aren't quite the same. Also google's app engine datastore is sweet. Nice and simple, no screwing around with SQL. If I had to do systems stuff, I'd reach for Go.
LuaJIT is faster anyways.
Given that, it seems easy enough to just pass a {pointer, vtable} value.
In C++ (if I understand correctly) each object/class has one vtable. In Go, it seems that each type has as many vtables as are needed for the contexts it's called in.
See also type classes in haskell.
(this is all guessing. Someone please call me out if I'm wrong)
Thinking straight about politics is hard, so it's not a good practice case.
"learn programming by writing an industrial-quality OS"
Having read the article: less than 1% share my view. Yikes.
I think for most people, questions like this are what I'd call a "philosophy landmine"; say certain things and it causes people to stop thinking and repeat some standard cultural tropes or go spinning off into faux-philosophy-land.
Kind of depressing.