Live data from Hacker News

Viewing profile — chrislattner

chrislattner

HN member
Joined
Fri, Aug 21, 2015, 3:02 AM UTC
HN karma
924
Public activity
69 items

About chrislattner

No profile information was provided.

Recent public activity

  1. comment
    Comment #48982818

    This is fixed in Mojo btw, using the latest nightly: ``` $ cat test.mojo from std.utils import Variant def main(): var x : Variant[Int, Pointer[Int, ImmStaticOrigin]] # set it to i…

  2. comment
    Comment #48068126

    Indeed, this fall 100%

  3. comment
    Comment #47617242

    If you want the fastest open source implementation on Blackwell and AMD MI355, check out Modular's MAX nightly. You can pip install it super fast, check it out here: https://www.mo…

  4. comment
    Comment #45328199

    Thank you for the kind words! Are you saying that AI model innovation stopped at GPT-2 and everyone has performance and gpu utilization figured out? Are you talking about NVIDIA Ho…

  5. comment
    Comment #45328082

    Modular/Mojo is faster than NVIDIA's libraries on their own chips, and open source instead of binary blob. See the 4 part series that culimates in https://www.modular.com/blog/matr…

  6. comment
    Comment #45328072

    The Mojo discord and forums are all listed here: https://www.modular.com/community

  7. comment
    Comment #45328065

    Mojo doesn't have C++-like exceptions, but does support throwing. The codegen approach is basically like go's (where you return a bool + error conceptually) but with the python sty…

  8. comment
    Comment #45151994

    Sure, I wasn't trying to start a fight either, I was just sharing my experience and opinion on having worked on both. Mojo (and C++) have closures, for example c++ does lambda type…

  9. comment
    Comment #45151746

    Thanks, we'll update that. We shifted to putting Mojo into Compiler Explorer rather than having our own similar-but-different thing.

  10. comment
    Comment #45151720

    Mojo has overloading, generics and a much more advanced type system than Swift (dependent and linear types etc), and compile time in all phases is very important. The Mojo design s…

  11. comment
    Comment #45151564

    Bidirectional constraint solving. It's bad for compile time but even worse for predictable diagnostics. Mojo does contextual resolution, but it works more similar to how C++ resolv…

  12. comment
    Comment #45145551

    Mojo learns a lot from the mistakes in Swift, including this one. Mojo compiles much faster and doesn't have exponential time type checking! :)

  13. comment
    Comment #45145537

    Exceptions in Mojo are just syntax sugar for Result types. You don't have to use them if you don't want, and the overhead is not like C++ exceptions.

  14. comment
    Comment #45145513

    Thank you, that's not entirely wrongbut not the full picture. Our initial explanation had two problems actually, 1) we were "ambitiously optimistic" (different way of saying "ego-d…

  15. comment
    Comment #45141096

    Thank you for all the great interest in the podcast and in Mojo. If you're interested in learning more, Mojo has a FAQ that covers many topics (including "why not make Julia better…

  16. comment
    Comment #45053944

    Super impressive app and experience, it is incredible that you can get Swift to do this with such interactivity! Rebuilding Swift to be interpreted is a bold move, -Chris

  17. comment
    Comment #42446097

    For more details on what MAX includes, please check out the MAX changelog: https://docs.modular.com/max/changelog/ -Chris

  18. comment
    Comment #41758562

    Great post @fnands!

  19. comment
    Comment #40347916

    Please reach out to us to talk through it, I'm sure there's a way to work it out.

  20. comment
    Comment #39857697

    If you're interested in compiler nerdery, you should totally check out the source code, you'll see just how much we meant by "Syntactic sugar for MLIR" :-) A relatively accessible …

  21. comment
    Comment #39857679

    We totally want to see Mojo go into all these places! It's just that Modular can't fund use of Mojo in (eg) gamedev or embedded development (at least not in the foreseeable future)…

  22. comment
    Comment #39857639

    You're right that Mojo is a completely general purpose programming language. Community members are already building gui libraries and serving stuff etc. It might not be the best th…

  23. comment
    Comment #39856159

    Awesome, we'll be releasing a bunch more, but this is a pretty exciting starting point. The standard library has a lot of the lowest level details, and shapes most of the language …

  24. comment
    Comment #39348083

    As far as I know, the Mojo implementation is doing the same algorithm as the baseline rust implementation. The person commenting on that is complaining about the rust impl as well.…

  25. comment
    Comment #39295268

    LLVM has an autovectorizer which is quite good, but such tech is limited because (eg) it can't change memory layout. Speaking as someone who has spent more than 20 years writing co…