M
Modular•15mo ago
denden

Will Mojo be a "true" systems programming language?

Will you be able to create things like device drivers or even operating systems like you can in Rust?
11 Replies
denden
dendenOP•15mo ago
@Jack Clayton would you have an input on if this should be possible in the future?
Jack Clayton
Jack Clayton•15mo ago
Hi @denden absolutely it will! OS is an interest of mine as a hobbyist, and others on the team who have worked on operating systems. I think the experience will be great and I'm really looking forward to it. We'll need to build libraries as a community to support it though, and there's a lot of work to do. I'm hoping it gets traction!
avarshina
avarshina•15mo ago
so @Jack Clayton says, he and others in his team see forward to program an Operating System in the superset Python++ of Mojo-lang? Whut? What is the name of Mojo-lang's interpreter, (jit-)compiler? Can we see it? lay hands on it?
TeamPuzel
TeamPuzel•15mo ago
There is no interpreter or jit, Mojo is compiled to machine code like Rust or C++ It's a superset in syntax and semantics, not implementation.
avarshina
avarshina•15mo ago
Oh- yes that makes sense. But @Chris Lattner said in an interview that it was all inside the modular stack: interpreted, jit compiled and statical compiled ..
denden
dendenOP•15mo ago
hmm, I think I recall that as well 🤔
ModularBot
ModularBot•15mo ago
Congrats @denden, you just advanced to level 1!
TeamPuzel
TeamPuzel•15mo ago
I wouldn’t be surprised if the repl was interpreted, some compiler bugs seem to behave differently in it But there could be some other explanation for that
DanteOz
DanteOz•15mo ago
Modular
YouTube
Modular Community Livestream - Mojo🔥 SDK
Mojo🔥 is here! Join us on our upcoming community livestream as we discuss all things Mojo🔥 SDK! - Getting started, features, building and running Mojo🔥 co...
Chris Lattner
Chris Lattner•15mo ago
When you use "mojo build" you get an a.out executable. When you use "mojo" as a repl, it is jit compiling (and yes, built into and with LLDB) The compiler uses an interpreter internally for evaluating metaprogramming stuff also, but that should be invisible to the user.
Want results from more Discord servers?
Add your server