Is it possible for Mojo 🔥 to communicate directly with the hardware without the operating system ❓💽💻🖥️ #1627
Replies: 1 comment 6 replies
-
Yes, there is a way to do FFI currently. You can use the However, there isn't any good documentation on how to link against static libs or shared libraries, but here is a repository that provides some examples. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
C is a programming language designed by Dennis Ritchie at Bell Labs. C is very widely used, straightforward, and can be compiled to a number of platforms and operating systems. C is an imperative language, with a small number of keywords and a large number of mathematical operators. C is also a very low level programming language, which means it can communicate directly with hardware.
The question here is whether the Mojo programming language 🔥 has the ability to communicate with devices directly like the C language or not. For example, programming a microcontroller to control a machine's motor. Does Mojo have C abilities? If the Mojo programming language does not have these capabilities that C possesses, then what is the point of it really!?
Beta Was this translation helpful? Give feedback.
All reactions