News for hackers. Stuff that matters.
Re:Game dev: Linux users were only 0.1% of sales but 20% of ... by mitgraduate on Monday January 07, 2019 @10:49AM (#18846089)
You can always write native extension in c++/rust/c.
Re:Game dev: Linux users were only 0.1% of sales but 20% of ... by thecatspaw on Monday January 07, 2019 @10:54AM (#18846144)
so then why use electron as well if the majority of your code is going to be native anyway?
Re:Game dev: Linux users were only 0.1% of sales but 20% of ... by fb03 on Monday January 07, 2019 @10:56AM (#18846166)
exactly.

the UI is the minority of the code. the main engine is gonna need to be implemented in some language which has strict guarantees about performance. also, not having a garbage collector that fires in a seemingly random way helps a lot too :)

Re:Game dev: Linux users were only 0.1% of sales but 20% of ... by purplerabbit on Monday January 07, 2019 @12:44PM (#18847657)
It's probably a decent way to package your program. And you can use all the glammy JS you want.