Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Ecco
· 8y ago · 0 comments
I find Ruby’s stdlib a pleasure to use.
Comments
[–]
49bc
8y ago
How many web apps can you name that don’t rely on any external gems? Packaging that mess is a pain in every scripting language.
[–]
dwaite
8y ago
How far do you make it writing a web app in rust or go without pulling in external packages, then? Or a front-end using only javascript and html?
[–]
steveklabnik
8y ago
In Rust, it’s pretty quick. You
could
write a server yourself, but it would take a lot of work. It’s trivial with a package though.
[–]
Dowwie
8y ago
Steve, what is Rust's equivalent to Go's cross-compilation-- plain old cargo build?
[–]
marcus_holmes
8y ago
I never use server-side external packages when writing web apps (well, except the bcrypt crypto package, which is an official package but not technically part of the stdlib yet).
Dependencies are evil.
[–]
jashmatthews
8y ago
Anything that runs on JRuby can be packaged as a single file.
[–]
regularfry
8y ago
And even with MRI, it's not as painful as people make out. Set `$GEM_HOME`, `bundle install`, tar up your app and the gems, stick them on the server.