Lurker News
Back to discussion

Comment by 49bc

49bc2 replies#
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.
jashmatthews1 reply#
Anything that runs on JRuby can be packaged as a single file.
regularfry#
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.
dwaite2 replies#
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?
steveklabnik1 reply#
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.
Dowwie5 replies#
Steve, what is Rust's equivalent to Go's cross-compilation-- plain old cargo build?

Continue this thread — 5 replies

marcus_holmes#
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.