4 ms·
> Very often, the app is IO bound I hear this all the time but it really doesn't square up with my personal experiences. I've had to re-implement dynamic langu
by a8da6b0c91d 13y ago
> Very often, the app is IO bound
I hear this all the time but it really doesn't square up with my personal experiences. I've had to re-implement dynamic language stuff in C++ many times to get acceptable performance. No real design changes, just straight ports to C++. The entire value proposition of Golang is that the scripting language dynamic type systems are too slow, and it seems like loads of folks agree.
- pjmlp 13y agoThat is why they never used Dylan, Lisp, SELF or any other dynamic language with native compilers.
- a8da6b0c91d 13y agoThose dynamic languages are only performant when you add a bunch of type information. You wind up writing a simulacrum of C and it still under-performs.
- lispm 13y agoThe idea is that there is some useful speed for much of the application by using native compilers. Higher speed might be needed only in parts of the program. Then a type inferencer, etc. comes to use. If that's still not enough one calls C or assembler routines - but, say, 95% of the application can be written in Lisp.
- erbdex 13y ago> I've had to re-implement dynamic language stuff in C++ many times to get acceptable performance. Performance in a certain sense isn't just speed of a single uncoupled module, but also the end-to-end seamlessness of a system. The higher level languages might 'waste' 300ms in every function call, but save perhaps years in development time. Also- architecting and developing medium-sized projects is not just the 'ENTERPRISE THING' anymore. A vastly greater number of people now have a-shot-at larger projects. So this creative freedom and technical UN-chaining also add to performance in a very in-direct way by allowing better minds to enter the game.
- a8da6b0c91d 13y agoThis is all true, but the endlessly repeated line about "IO Bound" needs to die. It's just not true. Most stuff written in dynamic languages is a lot slower than it would be in a statically typed language.