Ivo Balbaert
Ivo Balbaert
MModular
Created by Ivo Balbaert on 6/14/2024 in #community-showcase
Mojo in the Tiobe-index
From Paul Jansen in the Tiobe index of Jan 2025: "Further down the list we see two new promising languages: Rust's competitor Zig climbed from #149 to #61 in 2024, whereas Mojo, the faster Python, jumped from position #194 to #68. Especially Mojo, which was first released only 2 years ago, addresses exactly what is needed in the programming field. I have high hopes that it will get close to a top 20 position in 2025."
7 replies
MModular
Created by Ivo Balbaert on 1/7/2025 in #questions
Try finally when opening a file
Sorry I was wrong, the finally block is executed. Probably Mojo's memory management has already cleared out the file variable when coming in the finally block.
13 replies
MModular
Created by Ivo Balbaert on 1/7/2025 in #questions
Try finally when opening a file
Also after an exception, the finally block is not executed. This seems like a bug.
13 replies
MModular
Created by Ivo Balbaert on 1/7/2025 in #questions
Try finally when opening a file
file I mean. The finally clause should be made to clean up. Of course it would be perhaps better to use with then.
13 replies
MModular
Created by Ivo Balbaert on 1/7/2025 in #questions
Try finally when opening a file
Thanks. In the try block would it still close the filep properly when an error happened just before that?
13 replies
MModular
Created by Ivo Balbaert on 1/7/2025 in #questions
Try finally when opening a file
According to the documentation, this Constructs the FileHandle
13 replies
MModular
Created by Ivo Balbaert on 1/7/2025 in #questions
Try finally when opening a file
That's true. But I tried to initialize the FileHandle with for example: var file: FileHandle = FileHandle("my_file.txt", "r")
13 replies
MModular
Created by Ivo Balbaert on 12/17/2024 in #questions
Is there a way in Mojo to know the type of a variable/object ?
Thanks. Are types then not known (thrown away) at runtime?
93 replies
MModular
Created by Ivo Balbaert on 6/14/2024 in #community-showcase
Mojo in the Tiobe-index
It is based on querying a lot of search engines, arguably an incomplete criterion. Somehow older query info seems 'to stay in' forever, which could explain why for example Delphi/Object Pascal remains around position 11 already for years. But the top 10 - top 20 ranges agree quite good with what other Programming Popularity rankings post. And of course Python is number 1😄
7 replies
MModular
Created by Ivo Balbaert on 6/14/2024 in #community-showcase
Mojo in the Tiobe-index
I originally proposed Paul Jansen (the founder of Tiobe index) to measure the popularity of Mojo with his index back in Oct 2023. He answered me in a mail from Nov 26 2023 that Mojo had been added on position #184. In Dec 2023 it had already ascended to #174. I have the original mail correspondence to back this up. How the Tiobe-index is calculated can be found here.
7 replies
MModular
Created by Safi Hyder on 9/9/2023 in #questions
where to start the Mojo language #mojo
I think https://docs.modular.com/mojo/manual/get-started/ is still the best way to start
3 replies