News for hackers. Stuff that matters.

VoltairePunk

Re:Ask HN: Realistic space colonization video game on Tuesday October 20, 2020 @04:01AM (#24834909)
Try Aurora 4x http://aurora2.pentarch.org/index.php . It's probably the closest to "real" and "fun" as you can get. Not that detailed as you speak, but as already mentioned by others - in reality, space is really really big and really really boring.
Re:Ask HN: Rust or Golang? on Wednesday September 16, 2020 @07:41AM (#24491630)
Coming from a company which is switching from Golang to Rust, I can definately say that this article is pretty true and needs to be taken into account: https://blog.discord.com/why-discord-is-switching-from-go-to...

Even though it's "old", but back in July (2020) we could replicate this behavior.

One main aspect of "why" we are swithcing to rust is that our project needs to handle large amounts of data (think > 15Gb in RAM). When you try to work with large data structures within RAM, the GC of golang goes a little nuts. There's many different memory issues that we found, for example, when we put a larger load on our project, there's allocations happening, but Golang won't deallocate or release the memory to the OS unless the load goes down.

But if you don't have to work with large data structures and need a speedy multithreaded solution, then you can definately go with golang.

I would also like to point out that it's not very accurate to say that Rust has moderate C++ flavor. It has C flavor with some "differences" when it comes to variables and their lifetimes as well as some different minor flavors of other languages. For example, it has channels, which work in a very similar way as in golang. It has stream (functional) programming to be done as easy as with Java. The biggest issue with Rust is that there's no well established libraries to work with and sometimes you get major incompatibilities or the issue when you have to so many different 3rd party libraries, that it becomes unconfortable to manage.

Please provide a list of "finished" AAA games that you've played that had less so we can accept your opinion as viable.
I would disagree with the second part of your statement where trying to do completely different jobs will lead to poor performance. It is indeed a double edged sword, however the real world (languages, frameworks, libraries, technologies, trends) change extremely quickly. Having the ability to react and adapt by understanding programming abstractions and fundamentals will help you rather than lead to poor performance. On the other hand, being focused would make you a niche specialist, which in these days is a thing hard to find. One must be careful not to learn something that might be gone tomorrow. I doubt there is a big need for lua or erlang developers these days. You can be the best, but if you are not needed, this could be simply depressing rather than useful.
It's a very basic bare bones editor, whereas IntelliJ was basically built for Java projects initially, so it has a well established logic, behavior, is quite fast, lots of automation and tools. With vscode you'll have to download plugins, write your own build and perhaps even run scripts. Depends on what level of control you need.
Re:Walt Whitman Poetry Generator Using Deep Learning on Tuesday December 04, 2018 @03:17AM (#18597401)
Very realistic. Complete Vogon poetry generator. Well done from a technical point of view, not that great from a literature point of view.