Viewing profile — asterite
asterite
HN member- Joined
- Tue, Aug 06, 2013, 4:13 PM UTC
- HN karma
- 134
- Public activity
- 56 items
- HN profile
- View on Hacker News ↗
About asterite
No profile information was provided.
Recent public activity
-
comment
Comment #26549200
Those functional languages don't have function overloading or named arguments. The type inference in Crystal works very differently. The type of a method can only be computed from …
-
comment
Comment #17427482
"Fast as C" should maybe be changed to something else. Crystal can bind directly to C functions and libraries without any overhead, plus you have pointers and other stuff. So you c…
-
comment
Comment #17426104
Oh, release builds do take longer. My point of view is that while developing you don't need the `--release` flag, so you can get a more or less fluent experience. The few times whe…
-
comment
Comment #17426038
That's about speed (though I think Truffle/Graal make an app consume more memory). Crystal is type-safe, and no optimizing VM can do that for Ruby. Not that type-safety is a killer…
-
comment
Comment #17425162
The compiler takes about 30 seconds or a bit more to compile, and it has around 50000 lines of code. Do you have the few hundred lines that took you 30+s to compile?
-
comment
Comment #17424829
You could basically say the same about any language. Just switch the descriptions. For example: C#: verbose, magical dependency injection, Microsoft, etc. Ruby: slow Go: ugly synta…
-
comment
Comment #17322432
I wouldn't commit to any specific date. It's not something you can timebox.
-
comment
Comment #13213655
Here are the reasons for 'end': https://github.com/crystal-lang/crystal/wiki/FAQ#why-isnt-th...
-
comment
Comment #13213623
Yes, it will be available before 1.0. It's on the roadmap.
-
comment
Comment #13213619
Yes, this is what Crystal 1.0 will look like. Parallelism is on the roadmap.
-
comment
Comment #13210922
We do, and we will. We are working on it :-)
-
comment
Comment #12227188
Thank you! I didn't know that easy way to reply. The compiler does some incremental compilation for the generated object files, so compile times are kept relatively small. Other th…
-
comment
Comment #12226881
I can't seem to reply to your reply to this, but the error message has nothing to do with where a class is defined. You can't compile a part of your application in crystal, there a…
-
comment
Comment #12226759
We (think we) have good reasons for that: https://github.com/crystal-lang/crystal/wiki/FAQ#why-isnt-th...
-
comment
Comment #12226745
It will simply stop compiling the code and it will say "undefined method 'talk' for Snake". You will get a similar error if `talk` is defined as an abstract method in the base abst…
-
comment
Comment #10810172
We mostly want to never have to do this. This way we can guarantee that "no method error" never happens at runtime (one of the most feared exceptions after a big refactor in a dyna…
-
comment
Comment #10026087
Thank you for the detailed analysis! Yes, Crystal will definitely need a lot of work. On the other hand, maybe this work is also fun :-) Also there's the thing that Go has big Goog…
-
comment
Comment #10015347
All the languages couldn't fit in the talk, but the full benchmarks are here: https://github.com/kostya/benchmarks As always, take benchmarks with a graint of salt. We use benchmar…
-
comment
Comment #10015314
It will never run Rails. Crystal is just heavily inspired by Ruby, but has already diverged in a lot of places in terms of syntax and semantics. Plus, Ruby has "eval" and "send", w…
-
comment
Comment #10015307
The current HTTP server is pretty fast. Did you try compiling/running your program with the `--release` flag? It's explained a bit here: http://crystal-lang.org/docs/using_the_comp…
-
comment
Comment #10015287
Not quite. The language allows you to program using duck-typing, in a way. For example if you have a variable "duck" and you assign a Duck to it and invoke "quack" on it, given a D…
-
comment
Comment #10015270
There's support for cross-compilation, it's even documented: http://crystal-lang.org/docs/syntax_and_semantics/cross-comp... But porting stuff to Windows is far from trivial: there…
-
comment
Comment #9675572
In Crystal we also have sum: http://crystal-lang.org/api/
-
comment
Comment #9672229
I don't think it's a big deal, benchmarks are just toy programs. Once you learn about the `--release` flag you never forget it for production-ready code. C has -O3, why isn't it th…
-
comment
Comment #9671386
Yeah, we need to document this better, sorry!