Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
JVM and Javascript don't integrate well with linux packages.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Sat Mar 19, 2022 1:21 am    Post subject: JVM and Javascript don't integrate well with linux packages. Reply with quote

There are eclasses for java modules. I read java eclasses and discovered that they rely on fragile complex tricks I don't want to have to deal with.

And, there is no eclass for clojure modules.

For most JVM programs, there are non-JVM alternatives that do the job just as well. Thus, I suggest avoiding creation of gentoo linux packages for java programs.
I don't have JVM on my system.

I also suggest not even attempting to create gentoo linux packages for programs running on nodejs and deno. When other languages like python, perl, janet, C, and C++ integrate smoothly with linux packaging systems, we should just use those languages instead of JVM, nodejs, and deno.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Sat Mar 19, 2022 1:56 am    Post subject: Reply with quote

oh my gawd the effort the devs spent integrating python, ruby, and perl into portage...sheesh, that's ridiculous work. Same with haskell most likely, though I've completely avoided it.

If they want to spend the effort for java, rust, etc. more power to them.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Sat Mar 19, 2022 2:21 am    Post subject: Reply with quote

eccerr0r wrote:
oh my gawd the effort the devs spent integrating python, ruby, and perl into portage...sheesh, that's ridiculous work. Same with haskell most likely, though I've completely avoided it.

If they want to spend the effort for java, rust, etc. more power to them.


By the way, rust and go already have eclasses. I've packaged multiple rust programs with cargo.eclass and go programs with go-moddule.eclass

I don't know much about Raku language, but I was able to write rakudo.eclass for packaging raku modules as gentoo linux packages.
rakudo.eclass is really simple. Raku's install-dist.raku made it really easy to create gentoo linux packages out of raku modules.
If a regular dude like me can write rakudo.eclass in a day with only a little bit of knowledge on raku language, raku module system is really simple for linux distribution maintainers.
You should read rakudo.eclass in my overlay. It's so simple that you are going to dance like a monkey.

Raku has JIT and proper parallelism, and lots of performance optimizations are going to be applied to Raku and MoarVM over the next 10 years.

I think raku and moarvm are the future of programming at least for me.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Sun Mar 20, 2022 8:44 pm    Post subject: Reply with quote

Only pure java program I know of in portage is josm, and it needs a java vm. Didn't look at how it was integrated, however.
Using josm is kind of annoying so I end up using the much, much slower javascript editor, alas it's a browser script that has its own issues.

Speaking of iD, this is becoming a speed validator for javascript interpreters. Haven't tried it in netsurf/duktape, wonder how bad it is... It's bad in firefox and unusable on my atom n270...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum