ksandvik
ksandvik
MModular
Created by jmky on 10/7/2024 in #questions
Is there a disdain for Rust from the Mojo team?
Using the same words as other languages also makes an association that the behavior is the same, and it might not be....
23 replies
MModular
Created by itzshayneduh on 12/23/2023 in #questions
Python w Mojo
Yes, there will be more python syntax supported in Mojo over time, the plan is that it will be a super-set of Python.
2 replies
MModular
Created by Mr J on 10/1/2023 in #questions
GUI libraries
Oh you could also pick any of the other licenses in that folder, I just followed the link from the 'choose your license' and it landed at GPL 3.0.
35 replies
MModular
Created by Mr J on 10/1/2023 in #questions
GUI libraries
Slint use GPL3 for their free license model, trying to understand their licensing system....
35 replies
MModular
Created by Arctic on 9/15/2023 in #questions
Plans for a package manager?
I think delegation to github depot URL links and possibly even import in the code itself using the url is the way to go, but just my opinion. Others could still write web sited with recommended pages et rest.
26 replies
MModular
Created by gryznar on 12/3/2023 in #questions
Error handling like in Rust
Well, we have traits now so that will be a nice addition for any future standardization of error handling.
11 replies
MModular
Created by gryznar on 12/3/2023 in #questions
Error handling like in Rust
I don't know about the future of error handling Mojo but so far trying to be 1:1 with Python exceptions is a goal. Meanwhile this is an interesting article how to combine the best from Go and Rust into a more Pythonic error solution: https://www.inngest.com/blog/python-errors-as-values
11 replies
MModular
Created by Zschibi on 11/17/2023 in #questions
Are all Python libraries supported?
As mojo uses CPython underneath most of them should work, but then you have a dependency on the specific CPython version when deploying to targets.
6 replies
MModular
Created by dreycenfoiles on 10/31/2023 in #questions
Differences between class and struct
3 replies
MModular
Created by Jack Clayton on 9/8/2023 in #questions
Native apple silicon macOS m1 and m2 support
This is very early days of the compiler, no bindings from mojo to swift nor Apple APIs, in future...
110 replies
MModular
Created by Jack Clayton on 9/8/2023 in #questions
Native apple silicon macOS m1 and m2 support
Follow #mojo-announcements
110 replies
MModular
Created by Mr J on 10/1/2023 in #questions
GUI libraries
GUI libraries are fine to implement, but they are very much outside the scope of the Mojo compiler team projects -- i.e. open source and other initiatives.
35 replies
MModular
Created by Elaid Tebabkha on 9/29/2023 in #questions
Can't find libpython
None in Mojo yet, but the Python interop one works.
29 replies
MModular
Created by Elaid Tebabkha on 9/29/2023 in #questions
Can't find libpython
See beginning part of https://www.youtube.com/watch?v=5Sm9IVMet9c&t=2862s that shows how to use Python input in mojo code.
29 replies
MModular
Created by Sagi on 9/29/2023 in #questions
PyObject support
I'm sure something like this will happen in future, might be that parts of NumPy might support mojo directly.
4 replies
MModular
Created by david on 9/29/2023 in #questions
Will Mojo Metaprogramming support Lisp/Julia Style Macros?
Just my opinion but there's no need to have an exact or similar metaprogramming model as Julia or Lisp, just the same methodology. A lot of those cases are solved at compile time, hence the focus of Mojo listed in the documentation mentioned above on this aspect. The benefits of compile-time are performance-related.
41 replies
MModular
Created by Elaid Tebabkha on 9/28/2023 in #questions
Build .exe file Mojo
To start with, check the MOJO_PYTHON_LIBRARY environment variable if it points at a valid cpython library file: https://docs.modular.com/mojo/manual/basics/index.html#python-integration
2 replies
MModular
Created by david on 9/29/2023 in #questions
Will Mojo Metaprogramming support Lisp/Julia Style Macros?
41 replies
MModular
Created by nickshouse on 9/29/2023 in #questions
Is it possible to create a Discord bot with Mojo?
Yes, you could try that via the generic PyObject support, you get some benefits as the outcome is a single executable. For speedups you need to rewrite bottleneck parts in Mojo.
5 replies
MModular
Created by nickshouse on 9/29/2023 in #questions
Is it possible to create a Discord bot with Mojo?
There is via CPython interaction and in the future easier when we have socket and network libraries in pure mojo hooked to stdlib.
5 replies