6 ms·
you don't have to like go, I'm not "liking it" per say, but what's the alternative if you want static typing/compile language, Java, well the compile time is to
by knan 8y ago
you don't have to like go, I'm not "liking it" per say, but what's the alternative if you want static typing/compile language, Java, well the compile time is to big for my taste, do a change wait 30 seconds, also it needs to munch ram, Net core could not get it to run.
- gaius 8y agoHave you tried OCaml? It’s higher-level than Go and easily produces high performance self-contained binaries.
- knan 8y agobe that, but the fact that I didn't heard of it, I just need to get shit done, not experimenting.
- lucozade 8y ago> but the fact that I didn't heard of it Would suggest that you're not very familiar with the field that you're commenting on. Ignorance of a subject is perfectly fine. Everyone's ignorant of something. But flaunting your ignorance doesn't really strengthen your case appreciably.
- klohto 8y agoRust
- Dzugaru 8y agoD or Rust?
- knan 8y agoD is a mess, Rust maybe no, but seeing how firefix is lossing browser share, I doubt in 5 - 10 years, there will be any company behind it anymore, same for kotlin, with vscode beating jetbrains.
- alehander42 8y agoNim? I always found it a good fit for a lot of semi-system/cli stuff
- vvillena 8y agoYeah, it's much safer to use a language backed by Google, a company known for ruthlessly killing non-core projects after a few years, no matter how much traction they have.
- knan 8y agois a core project, apparently they use it a lot, youtube is in it, but if it happens, it can be picked by other companies that use it, docker, kubernetes, cockroachdb, coreOS, etc. What Rust has, firefox? What D has.. nothing?
- vvillena 8y agoSame case as Rust then. Currently backed by Mozilla, with lots of big companies using it too. IIRC the most famous case is Dropbox. Rust has unique features that make it very attractive. I'd say Go has unique features too (e.g. uniformity of code style). Having unique features means the language will probably live on even if the current maintainers step down. D doesn't bring anything new to the table, that's why it's not as relevant.
- steveklabnik 8y agoDropbox is very well known, but I think Amazon, Microsoft, and Facebook are more well-known :)
- erik_seaberg 8y agoThis is a risk for systems deployed only on Google hardware, but they can't push a button and make the gccgo source disappear.
- geezerjay 8y ago
- skohan 8y agoSwift
- vbezhenar 8y agoYou can use Java in a lightweight manner. That's what I'm doing lately. Use built-in com.sun.net.httpserver or add undertow dependency. Enough for HTTP, uses few MB memory (I'm running one app on a 256 MB OpenBSD server), starts in a fraction of second. Use JDBC without all those ORM nonsense, you'll have somewhat verbose but pretty obvious code. It's pretty productive environment for me.
- vram22 8y ago>Use built-in com.sun.net.httpserver or add undertow dependency. Haven't used Java for a while, but IIRC, (some of) those star.sun.star classes (as opposed to star.java.star ones) used to be mentioned as liable to be deprecated, so not to be relied on (long term at least). Is that still the case now?
- vbezhenar 8y agoI don't think that this module is deprecated. https://docs.oracle.com/en/java/javase/11/docs/api/jdk.httpserver/module-summary.html https://docs.oracle.com/en/java/javase/11/docs/api/jdk.https... here's documentation for latest Java without any mentioning of deprecation. It's a bit strange module because it was located in that package, but it was always documented, so I'm considering it safe to use for the time being. Probably not the most performant (uses good old blocking I/O), but good enough for many tasks.
- vram22 8y agoThanks.
- repolfx 8y agoYou shouldn't need to wait 30 seconds on any change to a Java app. It supports incremental compilation. My own projects usually take 2-3 seconds to recompile and launch, and they're large.