JVM in Rust?? | | Prime Reacts

preview_player
Показать описание
Recorded live on twitch, GET IN

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Рекомендации по теме
Комментарии
Автор

Rust Devs have time to rewrite everything in rust because they didn’t have an actual jobs.

taezahd
Автор

The most shocking revelation to me is, that you didn't knew JAR files are just ZIP files.

thingsiplay
Автор

Tsoding made a jvm in python and a c compiler in php 😂

asdqwe
Автор

RVM is the new JVM. I love that approach, Rust gives us the possibility to improve what already exists in other languages, create new things, make proof of concept.

daltonyon
Автор

And I've written a Solidity parser and EVM in Rust and written blog posts teaching others how to do it, ngl it's a great way to learn 👍

theohallenius
Автор

LOL, that made me laugh. writing a virtual machine is a fun and great thing to do. you learn a shit ton writing a virtual machine. Writing my own LISP interpreter made me understand just how badass the JVM is.

woolfel
Автор

It is a pet project, I do see that. But being able to call java code from rust, and call rust from java (as native methods) makes for a world of libraries that are simply absent in rust, such as xslt processing, and even accessing databases using jdbc, available, and allows for a gradual migration of a java project into a rust hybrid, without resorting to the "throw it all away and start from scratch in rust", which is basically a show stopper for using rust in a corporative environment addicted to java, such as the one I work on.

albucc
Автор

but, can you do rust compiler in Java? running in rjvm

advanceringnewholder
Автор

I have written a .class file parser before, to turn jars into Graphviz graphs. What was weirder was implementing Java serialization in C# (to talk to a JBoss server from C# clients). It certainly sounds like an elite way to learn Rust well.

robfielding
Автор

Hey prime. You described marksweep but his is a semi space copying collector. Based on this description, it doesn't work like you described, marking and then sweeping. I'm pretty sure instead of marking, it does it all in one pass, copying objects it touches to the other semi space as it goes.

kippersisOG
Автор

Something that I find exciting in the Java world is the appearance of more JVMs. Azul for example has a non-blocking (concurrent) garbage collector that supposedly increases performance greatly. Considering that Java is already pretty damn fast for not running native code, not having the locking GC would make a big difference.

CottidaeSEA
Автор

I love Java and seeing a guy write a JVM in Rust(another my fav lovely language) is just amazing. I love it. Salute to the champion.

RakeshKumar-tubi
Автор

In a world of doing things uncomfortable till you're competent. I'm watching something I hardly understand for the same reason.

danielphil
Автор

I unironically tried to actually do a JVM in rust quite some time ago, i was able to somewhat parse the class files, but i haven't reached the part that actually executes the bytecode, and also never came back, i have a life...

coffee-is-power
Автор

The AOC 2019 IntCode language/vm was invredibly fun to implement.

Bobbias
Автор

If jvm is written in C++/C, then writing it in Rust sounds natural. I wonder if any part of the jvm will ever be written in Rust, like in the Linux kernel.

avalagum
Автор

I'm a kotlin dev. I'd love to have a jvm written in rust.

kyleMcBurnett
Автор

You love the Into implementation because you miss the conversions magic from C#. :D

disguysn
Автор

Finally!!! A a step closer to play C64 retro games in a emulator running in Jython on the JVM on Rust on Windows in a VM on Linux on an ESXI host.

petertillemans
Автор

Ah, I finally can call myself a rust programmer and with zero effort.

dejfcold