jordiae
jordiae
MModular
Created by Noe on 12/9/2023 in #questions
Term paper about Mojo - Open questions
Everything is compiled except for the statements explicitly offloaded to Python (from Python import … etc )
8 replies
MModular
Created by jordiae on 10/30/2023 in #questions
Examples of Python code that will never work with Mojo?
I see, thanks!
13 replies
MModular
Created by jordiae on 10/30/2023 in #questions
Examples of Python code that will never work with Mojo?
@Jack Clayton hello Jack, any chances we could get an official approximate answer on this?
13 replies
MModular
Created by jordiae on 10/30/2023 in #questions
Examples of Python code that will never work with Mojo?
Direct quote from @Chris Lattner: “We haven't built a proper "talk to c python extensions" directly from Mojo subsystem, but when we do, /it/ will have a GIL because c extensions require it, just as you say.” So it seems that the plan is for Mojo to support C extensions
13 replies
MModular
Created by jordiae on 10/30/2023 in #questions
Examples of Python code that will never work with Mojo?
True but PEP 703 was accepted, and afaik the GIL is more relevant for the C extensions than for python code itself
13 replies
MModular
Created by jordiae on 10/30/2023 in #questions
Examples of Python code that will never work with Mojo?
good example! I guess the fact that Mojo opted for uppercase Int would allow for using this infinitely larger integer type when lowercase int was encountered, although this wouldn't solve the ambiguity when encountering integer literals
13 replies
MModular
Created by jordiae on 9/13/2023 in #questions
Can I call a (compiled) Mojo function from Python?
@Jack Clayton any updates?
16 replies
MModular
Created by jordiae on 9/13/2023 in #questions
Can I call a (compiled) Mojo function from Python?
Looking forward! Thanks!
16 replies