News for hackers. Stuff that matters.
Re:Ask HN: Which industries, domains, or programming languag... by bb88 on Wednesday June 20, 2018 @10:20PM (#17361571)
> I still don't think its ready for server-side development, not until they add threads (WTF is taking so long).

Having debugged deadlocking threaded code in production, frankly, I prefer async/await style of code, which btw is in Typescript, Java, Python, etc.

For parallelism, there's concepts like python's multiprocessing (which I think does it right) because it's easier to think about parallelism when the OS doesn't constantly pull the rug out from under your state.

Re:Ask HN: Which industries, domains, or programming languag... by bloomthrowaway on Monday June 25, 2018 @09:50AM (#17392379)
I don't mind threads when they're done right. Every Java app server is multi-threaded and I don't remember the last time I ran into deadlocks. It's best for performance and readability to have both threads and async support. This is achievable with some work in Java by using Comsat/Quasar