News for hackers. Stuff that matters.
Re:How to make a game from scratch using Lua and Löve by rtpg on Sunday February 18, 2018 @03:17AM (#16405021)
I think Python's standard library is super underestimated.

I needed to work on zip files the other day and the Python standard lib included a great implementation with high quality documentation. Languages with minimal stdlibs tend to fall flat on the documentation front, and it adds a lot of friction imo.

Though lua being embeddable is very nice, just coming from trying to embed Python and having a bit of frustration at managing it.

Re:How to make a game from scratch using Lua and Löve by jtolmar on Sunday February 18, 2018 @03:33AM (#16405051)
I think we could use a reasonable middleground between the awesome standard libraries of Python and Java and the ocean of tiny packages of Rust and Javascript.

It'd be nice if a package-managed language could import the huge awesome standard library, automatically drop whatever goes unused, and that mechanism worked well enough that everyone but the most restricted embedded programmers were fine with it.

Re:How to make a game from scratch using Lua and Löve by rtpg on Sunday February 18, 2018 @08:10AM (#16405905)
Totally. I think that if you can build your dependency graph properly you don't need to package the standard library.

The standard library exists partly because packaging was hard, so it's easier to ship a bunch of stuff. But nowadays it could simply be "core libs" that get pulled in on use.

Re:How to make a game from scratch using Lua and Löve by pjmlp on Sunday February 18, 2018 @12:01PM (#16406925)
Packaging is only part of the whole equation.

Quality, available documentation, guaratee of supporting every OS targeted by the language toolchain, and future updates in sync with the language version also matter.

Re:How to make a game from scratch using Lua and Löve by jasonkostempski on Sunday February 18, 2018 @08:23AM (#16405950)
Google Closure does a pretty good job at stripping unused code. ClojureScript is powered by Google Closure. Leiningen gets you package management.