Jabadahut50
Jabadahut50
MModular
Created by Jabadahut50 on 9/12/2024 in #questions
Shared Object Support?
oooh now i'm even more impatiantley waiting XD
12 replies
MModular
Created by Jabadahut50 on 9/12/2024 in #questions
Shared Object Support?
That could work... guess I'll be waiting for that then. Appreciate it.
12 replies
MModular
Created by Jabadahut50 on 9/12/2024 in #questions
Shared Object Support?
@Owen Hilyard follow up question... is there per chance a way to compile mojo to MLIR bytecode? The bytecode format is fairly well documented and I know MOJO gets compiled down to MLIR before machine language anyway... and while i'd prefer compiled machine code, creating a bytecode interpreter could be another way of getting the functionality I want without too much performance sacrifice?
12 replies
MModular
Created by Jabadahut50 on 9/12/2024 in #questions
Shared Object Support?
Shared memory IPC could work but that'd be a LOT of individual processes. I feel like it'd eat a lot of RAM. May just have to wait for some updates or something if I can't figure out a different way to do it.
12 replies
MModular
Created by Jabadahut50 on 9/12/2024 in #questions
Shared Object Support?
Ah damn. My project in mind was to reimplement Erlang's BEAM engine in MOJO but in native compiled MOJO rather than on a VM. The shared objects idea was to make hot swap-ability of code viable. Back to the drawing board to figure out something else then XD. Thanks @Owen Hilyard
12 replies
MModular
Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
Never worked with Metal but it wouldn't super surprise me being easier to use than Vulkan. It's a much more modern API. I personally would like to see web gpu take off more.
57 replies
MModular
Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
well vulkan is an extremley low level and incredibly deep/powerful API so it's to be expected to some extent
57 replies
MModular
Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
there is that python wrapper for vulkan library... could always abstract that (where it isn't going to horribly affect performance by doing so) Mojo bieng a superset of python which itself is super interoperable with C is such a nice feature honestly
57 replies
MModular
Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
infact speak of the devil XD https://discordapp.com/channels/1087530497313357884/1282705421425049622/1282705421425049622 That bieng said these are SDL bindings as well for now as opposed to pure ground up mojo but it's a step in that direction
57 replies
MModular
Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
DX12 and Vulkan are powerful but they do be kinda crap to work with. I will say, if the GPGPU stuff for max turns out how I expect it to... we might see a python first API for working with graphics pop up written entirley in mojo
57 replies
MModular
Created by cirqol on 9/8/2024 in #questions
Just learn Mojo?
as a superset (or at least a WIP one) of python. Mojo isn't so much standalone from Python as it is an extension of it much akin to typescript/javascript. So yeah you'll need to learn python first... trust me... i've also always been of the opinion that python was not my cup of tea but i'm learning to stomach and even enjoy it in order to further learn mojo. Knowing python well makes it much easier to convert python packages to pure mojo and you'll better know where to look for performance bottle necks and how to rewrite them for mojo. On the plus side... you get from python to mojo levels pretty quickly... as python is super easy to learn especially if you already have programming experience in other languages.
4 replies
MModular
Created by Khaled M' on 4/1/2024 in #questions
Does anyone think Mojo could be great for Game Development?
Mojo is one of the newest languages on the block, isn't fully at a 1.0 status, and yet already has a decent following. Give it time and im sure it will pick up even more popularity. A high quality game engine could help boost its popularity which would then boost the engines popularity and so on. I dunno if you can dethrone Unreal as the go to for AAA games but id argue godot shows there's always room in the Indie industry.
57 replies
MModular
Created by samufi on 8/2/2024 in #questions
How can I write asynchronous code?
Async will run when it get's all the things it is waiting on and get's an opening on a singular thread. So awaiting a function means that it will wait to continue until the function it is awaiting has completed and returned, then it will take the return and finish its own work.
11 replies
MModular
Created by samufi on 8/2/2024 in #questions
How can I write asynchronous code?
async isn't parallel computing. It's concurrenty computing. The two are often confused but they are fundamentally different.
11 replies