I'm curious, it looks like the screenshot shows the author is using a Mac. But Mac OS hasn't shipped with Java in several years. So why Java? Is it simply familiarity, or are there other reasons?
Most OS's don't ship with a C compiler, go, python 3, rust, arc, etc, what does that have to do with anything?
Show HN: Bt – BitTorrent library in Java 8
11–20 of 89 posts
Re: Show HN: Bt – BitTorrent library in Java 8
#12I'm curious, it looks like the screenshot shows the author is using a Mac. But Mac OS hasn't shipped with Java in several years. So why Java? Is it simply familiarity, or are there other reasons?
Most OS's don't ship with a C compiler, go, python 3, rust, arc, etc, what does that have to do with anything?
Re: Show HN: Bt – BitTorrent library in Java 8
#13Earlier quoted context omitted.
Most OS's don't ship with a C compiler, go, python 3, rust, arc, etc, what does that have to do with anything?
You're conflating developer tools with a language runtime. Every popular OS ships with everything necessary to run a C, Go, or Rust binary. Python 3 and Java both require a separate runtime to be installed, but I will say that every Java CLI I've used has had terrible startup performance.
Re: Show HN: Bt – BitTorrent library in Java 8
#14Earlier quoted context omitted.
You're conflating developer tools with a language runtime. Every popular OS ships with everything necessary to run a C, Go, or Rust binary. Python 3 and Java both require a separate runtime to be installed, but I will say that every Java CLI I've used has had terrible startup performance.
I'm using Lanterna, a Java library for creating text-based terminal GUIs ( https://github.com/mabe02/lanterna ), and the startup is 1-2 seconds. Can't recommend it enough
Re: Show HN: Bt – BitTorrent library in Java 8
#15Earlier quoted context omitted.
Most OS's don't ship with a C compiler, go, python 3, rust, arc, etc, what does that have to do with anything?
You're conflating developer tools with a language runtime. Every popular OS ships with everything necessary to run a C, Go, or Rust binary. Python 3 and Java both require a separate runtime to be installed, but I will say that every Java CLI I've used has had terrible startup performance.
But then you need to provide different app packages for different OSes.
Re: Show HN: Bt – BitTorrent library in Java 8
#16Earlier quoted context omitted.
You're conflating developer tools with a language runtime. Every popular OS ships with everything necessary to run a C, Go, or Rust binary. Python 3 and Java both require a separate runtime to be installed, but I will say that every Java CLI I've used has had terrible startup performance.
I'm using Lanterna, a Java library for creating text-based terminal GUIs ( https://github.com/mabe02/lanterna ), and the startup is 1-2 seconds. Can't recommend it enough
Re: Show HN: Bt – BitTorrent library in Java 8
#17Earlier quoted context omitted.
I'm using Lanterna, a Java library for creating text-based terminal GUIs ( https://github.com/mabe02/lanterna ), and the startup is 1-2 seconds. Can't recommend it enough
Good to know, but 1-2 seconds is still very slow compared to a native app. I have an 8MB Go CLI application that can startup and print its help in .05 seconds, and even that is probably slow compared to a C or Rust equivalent.
$ time java HelloWorld
Hello, World
real 0m0.088s
user 0m0.088s
sys 0m0.016sRe: Show HN: Bt – BitTorrent library in Java 8
#18Earlier quoted context omitted.
I'm using Lanterna, a Java library for creating text-based terminal GUIs ( https://github.com/mabe02/lanterna ), and the startup is 1-2 seconds. Can't recommend it enough
opening and quiting vim for a file of 2500 lines of C++ (so with all the plugins and stuff) takes 0.030seconds. I don't see how you can be satisfied with 2 seconds startup for a terminal application
Re: Show HN: Bt – BitTorrent library in Java 8
#19Earlier quoted context omitted.
Most OS's don't ship with a C compiler, go, python 3, rust, arc, etc, what does that have to do with anything?
You're conflating developer tools with a language runtime. Every popular OS ships with everything necessary to run a C, Go, or Rust binary. Python 3 and Java both require a separate runtime to be installed, but I will say that every Java CLI I've used has had terrible startup performance.
Re: Show HN: Bt – BitTorrent library in Java 8
#20Earlier quoted context omitted.
Most OS's don't ship with a C compiler, go, python 3, rust, arc, etc, what does that have to do with anything?
Technically _most_ ship with a C compiler and a python compiler since pretty well every linux distribution & bsd distribution has those. But that really doesn't have anything to do with which language you should use.