Live data from Hacker News

Mojo is available for local download

modular.com

51–60 of 193 posts

Re: Mojo is available for local download

#51
post #38

I've had high hopes for this project since its announcement, but until it's open-source, I'm not investing any time in it. That's the only announcement I care about

Same, and even worse, the playground requires you to be logged in. That's like the initial step of a demo and requiring an account is simply nuts.

The same is true of GPT. Just sayin.

Actually GPT is worse because they demand both a phone number and an email. Still haven't signed up because of that nonsense.

Re: Mojo is available for local download

#52
post #42

Why are people so enthused about Python syntax? Some problems off the top of my head: - The lack of new variable declaration keyword makes scopes less explicit. nonlocal is not simpler in the large than `let x = ...` - The lack of multi-line lambdas is very limiting for anyone coming from JS, C#, Rust, Kotlin... heck even Java - The ternary operator (... if ... else ...) is needlessly different for other mainstream l…

I'd like to add that forced whitespace is infuriating. It's annoying to navigate (in vim I can't easily go to the beginning/end of a code block like I can in languages where scopes are defined by braces), and it's annoying to read because it's not always intuitive how deep I am within nested scopes

That’s an issue with your vim setup. You can absolutely navigate Python code in vim.

Re: Mojo is available for local download

#53

Why are people so enthused about Python syntax? Some problems off the top of my head: - The lack of new variable declaration keyword makes scopes less explicit. nonlocal is not simpler in the large than `let x = ...` - The lack of multi-line lambdas is very limiting for anyone coming from JS, C#, Rust, Kotlin... heck even Java - The ternary operator (... if ... else ...) is needlessly different for other mainstream l…

I concede about multi line lambdas but far too many languages take a “syntax is bikeshedding and unimportant” approach to language design. New languages are still using “&&” and “||” as if it’s 1975 and syntax highlighting doesn’t exist. Looking at C++, Rust and even Zig code is unnecessarily complicated for someone who isn’t intimately familiar with the syntax meanwhile for the most part anyone can understand Python…

I personally find && and || easier to read than "and" and "or" because instead of using words to separate words, it's symbols separating words. Sure syntax highlighting helps, but I don't think there's an objective choice here

Re: Mojo is available for local download

#54
post #42

Earlier quoted context omitted.

I'd like to add that forced whitespace is infuriating. It's annoying to navigate (in vim I can't easily go to the beginning/end of a code block like I can in languages where scopes are defined by braces), and it's annoying to read because it's not always intuitive how deep I am within nested scopes

That’s an issue with your vim setup. You can absolutely navigate Python code in vim.

Got any recommendations?

Also, I didn't say it was impossible to navigate, but it is cumbersome and annoying. Forced whitespace sucks.

Re: Mojo is available for local download

#55

Earlier quoted context omitted.

I'm not willing to make an account either, I'm too scared what Modular will do with my data for privacy reasons, especially seeing that giant Google sign in button. Hopefully, someone will and sign up so that we know Modular intends to do with our data once they collect it.

Hi, thanks for your interest! You can opt out of telemetry if you like. Please see the FAQ here: https://docs.modular.com/mojo/faq.html#does-the-mojo-sdk-col... For open sourcing, we also have a section in our FAQ: https://docs.modular.com/mojo/faq.html#open-source , and we answered a question about that in the latest livestream! https://www.youtube.com/watch?v=mQh9es5gfpo For the question on pricing, the Mojo SDK is…

Soo maybe some "core" "parts" might be open sourced some time. Hard pass.

Re: Mojo is available for local download

#56
post #50

Related. Others? How Mojo gets a speedup over Python – Part 2 - https://news.ycombinator.com/item?id=37307260 - Aug 2023 (63 comments) Mojo gets a speedup over Python – Part 1 - https://news.ycombinator.com/item?id=37294001 - Aug 2023 (3 comments) Introduction to Mojo Language - https://news.ycombinator.com/item?id=37200400 - Aug 2023 (3 comments) Guido van Rossum feedback to Chris Lattner on Mojo programming languag…

Chris Lattner: Future of Programming and AI – Lex Fridman Podcast #381 [video] - https://news.ycombinator.com/item?id=36173382 - June 2023 (1 comment)

While it didn't get traction, it's a good interview which talks a lot about the language.

Re: Mojo is available for local download

#57
post #42

Why are people so enthused about Python syntax? Some problems off the top of my head: - The lack of new variable declaration keyword makes scopes less explicit. nonlocal is not simpler in the large than `let x = ...` - The lack of multi-line lambdas is very limiting for anyone coming from JS, C#, Rust, Kotlin... heck even Java - The ternary operator (... if ... else ...) is needlessly different for other mainstream l…

I'd like to add that forced whitespace is infuriating. It's annoying to navigate (in vim I can't easily go to the beginning/end of a code block like I can in languages where scopes are defined by braces), and it's annoying to read because it's not always intuitive how deep I am within nested scopes

> ... it's not intuitive how deep I am within nested scopes

The ONLY piece of information that is available to you regardless of how deep you are into a function is INDENTATION. Your curly braces won't help you.

Besides that, you should seriously reconsider your coding style if this is an actual problem for you.

Re: Mojo is available for local download

#58

Why are people so enthused about Python syntax? Some problems off the top of my head: - The lack of new variable declaration keyword makes scopes less explicit. nonlocal is not simpler in the large than `let x = ...` - The lack of multi-line lambdas is very limiting for anyone coming from JS, C#, Rust, Kotlin... heck even Java - The ternary operator (... if ... else ...) is needlessly different for other mainstream l…

Yeah it was pretty good in the Python 2 era but definitely not something to copy now. Another big issue is that it's not expression based. For example you can't do `foo = (yield a).b` you have to do `x = yield a; foo = x.b`. Having a special syntax for the expression version of if else is another example as you said. I was disappointed to discover Dart made the same mistake there. There's a totally different syntax f…

> For example you can't do `foo = (yield a).b` you have to do `x = yield a; foo = x.b`.

The first snippet actually works fine. Yield expressions were introduced with PEP 342 in Python 2.5.

Re: Mojo is available for local download

#59

Earlier quoted context omitted.

I'm not willing to make an account either, I'm too scared what Modular will do with my data for privacy reasons, especially seeing that giant Google sign in button. Hopefully, someone will and sign up so that we know Modular intends to do with our data once they collect it.

Hi, thanks for your interest! You can opt out of telemetry if you like. Please see the FAQ here: https://docs.modular.com/mojo/faq.html#does-the-mojo-sdk-col... For open sourcing, we also have a section in our FAQ: https://docs.modular.com/mojo/faq.html#open-source , and we answered a question about that in the latest livestream! https://www.youtube.com/watch?v=mQh9es5gfpo For the question on pricing, the Mojo SDK is…

0:16 from https://www.youtube.com/watch?v=mQh9es5gfpo, says "we'll be open sourcing documentation"... by the end of the year. Documentation? It will have taken a full year to open source documentation. Congrats.

Re: Mojo is available for local download

#60
post #30

Is what they have achieved really that ... magical, that it needs to be a closed source project? I don't know much about python, but I suspect if someone watches the demo the methodology behind what they're doing is probably clear no? I don't understand the purpose of close sourcing it unless there really is some kind of moat.

You can't have Python run that much faster without loosing lots of features. I guess if they open sourced it, people wouldn't be that impressed with what they implemented. This video [0] from the creator of Flask explains it quite well. Here [1] is Guido talking about Mojo being in early days and sharing some technical details.

[0] https://www.youtube.com/watch?v=qCGofLIzX6g [1] https://discuss.python.org/t/mojo-python-with-c-gpu-performa...

Post reply on HN