News for hackers. Stuff that matters.
Re:Justin.tv's Live Video Broadcasting Architecture (2010) by snaky on Wednesday July 03, 2019 @05:59PM (#20349322)
The keyword here is organizationally.

Technically speaking you can build scalable systems using anything you want. But if you need to hire a couple of hundreds developers, you better go with Java 7 or Go than Ruby, Lisp or Perl. The dumber and more uniform the better.

Re:Justin.tv's Live Video Broadcasting Architecture (2010) by ummonk on Wednesday July 03, 2019 @06:27PM (#20349560)
The key distinguisher there is static typing. Which is how Facebook manages to make do with PHP, and Dropbox with Python. By adding top annotations for a static type-checker...
Re:Justin.tv's Live Video Broadcasting Architecture (2010) by snaky on Wednesday July 03, 2019 @07:45PM (#20350167)
Static typing doesn't help you much, when you have 20 teams hating each other and 20 different ways to write statically typed C++ code.
Re:Justin.tv's Live Video Broadcasting Architecture (2010) by viraptor on Wednesday July 03, 2019 @06:54PM (#20349755)
It would be interesting to hear a comparison from someone using https://crystal-lang.org/ at scale. It's basically Ruby + types, which would make it the closest for isolating that one feature. It can't run Rails, but there are very similar web frameworks available.
Re:Justin.tv's Live Video Broadcasting Architecture (2010) by mcpherrinm on Wednesday July 03, 2019 @07:02PM (#20349824)
It seems Stripe solved this problem with https://sorbet.org/ which is actually Ruby + types.
Re:Justin.tv's Live Video Broadcasting Architecture (2010) by viraptor on Wednesday July 03, 2019 @07:08PM (#20349879)
It misses other benefits of static typing -> being able to compile to efficient code. Also Sorbet is still not popular enough to apply to many gems - it's a lot of work to implement it at the moment.
Re:Justin.tv's Live Video Broadcasting Architecture (2010) by pkd on Thursday July 04, 2019 @08:10PM (#20358869)
It's not Ruby + types, it just looks like it at first glance. The semantics are all diffrent (for good reasons).

I very much doubt that anyone is using Crystal at the scale Ruby/Rails is used yet. It's still far away from a 1.0 release and when I tried out 0.23 it had several issues, major ones for me were lacklustre debugging support and the type checker needing to load the whole AST into memory. Concurrency story was also not very strong but I know people were working on it actively at least.

Anyway, I wrote a non-trivial project in Crystal and overall really enjoyed it. Improving the debugging tooling would go a long way towards making it a real option.

Re:Justin.tv's Live Video Broadcasting Architecture (2010) by rhizome on Thursday July 04, 2019 @12:05AM (#20351418)
I've heard Crystal's Ruby resemblance fades once you get past the beginner stage.