matthew
Explore posts from serversnuxt dev doesn't load .env
The docs say:
In addition to any process environment variables, if you have a .env file in your project root directory, it will be automatically loaded at dev, build and generate time.This appears to not be the case. I have an .env file in the project root directory. If I run
nuxt dev
, this file is not loaded onto process.env
at runtime. 🤷♂️3 replies
MModular
•Created by matthew on 2/14/2024 in #questions
Is Mojo a general-purpose language? Or an AI language?
I’ve been fascinated by Mojo as a language, despite not touching Python much in my career.
However, I came across the recent blog post: “Mojo vs. Rust - is Mojo faster than Rust?” I think what’s off-putting about the article is that this far, Mojo hasn’t been positioned as anything like Rust. I.e. Rust has been marketed as a general-purpose language, and Mojo has been written-about as useful for a very very specific niche use case, even if that niche is popular right now.
Can there be some writing on Mojo as a general-purpose language? Can you build command-line apps? Can you build web servers? Parsers? Can it compile to WASM? AI is cool but I feel like software devs (like me) who are not in that field will not be remotely interested in Mojo without demonstrations out of the field.
And if the Mojo team is not interested in anyone using Mojo out of the AI space, that’s okay! I just wish that was a little more clear in the communication about it.
12 replies