43 Replies
benny
bennyβ€’11mo ago
This is pretty well done, remind me of the rust book, is that the inspiration?
bunny
bunnyβ€’11mo ago
I agree w/ benny. Nice book! And it also reminded me of the rust book. That's a good thing.
Jack Clayton
Jack Claytonβ€’11mo ago
Wow @ivellapillil great work!
shashank
shashankβ€’11mo ago
This is really good work, πŸ‘ @ivellapillil
Melody Daniel
Melody Danielβ€’11mo ago
Very nice!
timdavis
timdavisβ€’11mo ago
Awesome awesome work @ivellapillil πŸ’Ÿ πŸ™
ivellapillil
ivellapillilOPβ€’11mo ago
Thanks all for the kind words! It means a lot to me πŸ™‚
Stijn
Stijnβ€’11mo ago
πŸ”₯
Chris Lattner
Chris Lattnerβ€’11mo ago
This is amazing work @ivellapillil , incredible!
Darin Simmons
Darin Simmonsβ€’11mo ago
Truly impressive. Congratulations.
ivellapillil
ivellapillilOPβ€’11mo ago
Thanks 😊
Weichen-16ε°ζ™‚ηš„θ‡ͺη”±δΊΊ
Thanks for your effort 😊 It's really awesome πŸ‘
Numeryst
Numerystβ€’11mo ago
This is great @ivellapillil ! Thanks for sharing!
gryznar
gryznarβ€’11mo ago
I also appreciate that! Thanks!
Martin Dudek
Martin Dudekβ€’11mo ago
I really like you writing style, clear, concise and to the point, very readable :mojo: thanks for this great resource
ivellapillil
ivellapillilOPβ€’10mo ago
Thanks! πŸ™‚
Krisztian Szucs
Krisztian Szucsβ€’9mo ago
I like the diagrams explaining the parts of the expression.
Ayan
Ayanβ€’9mo ago
Thank you @ivellapillil , It really means a lot
NUN L3SS
NUN L3SSβ€’9mo ago
This is amazing, I’m gonna love using this to learn @ivellapillil
gryznar
gryznarβ€’9mo ago
@ivellapillil I have small suggestion which will greatly improve readability. Some code samples have print statements. It would be great to add to.them output via comments: # output_here
ivellapillil
ivellapillilOPβ€’9mo ago
Thanks for the feedback. I will try to fix those.
Sean
Seanβ€’9mo ago
@ivellapillil rust-lang/mdbook is ideal, the book created using mdbook can be downloaded as pdf for offline reading.
ivellapillil
ivellapillilOPβ€’9mo ago
I was not aware of mdbook. I will take a look.. Thanks for the hint.
Sean
Seanβ€’9mo ago
yes, no problem. There is an mdbook backend that produces outlines, which is really nice. If ever you will consider using mdbook, you can make it open-source so that the whole community can contribute. β™₯️
ModularBot
ModularBotβ€’9mo ago
Congrats @Sean, you just advanced to level 1!
Ravindra
Ravindraβ€’9mo ago
Plz add section about data structures
Darin Simmons
Darin Simmonsβ€’9mo ago
I came back to see if there was something on ^ and [] . I wasn't able to search except on a given page. Is there something on the above operators
ivellapillil
ivellapillilOPβ€’9mo ago
There is a mention of thr deref operator in https://ruhati.net/mojo/_lifecycle_and_ownership.html#_init But I did not dig too deep as I am waiting for Pointers and Reference to stabilize before writing a chapter on that.. Same with the move "operator", it is mentioned in https://ruhati.net/mojo/_lifecycle_and_ownership.html#_inout It is also not fully fleshed out. Question: what would like to know about those operators? I can then try to describe them more..
Mojo By Example: A Comprehensive Introduction to the Mojo Programmi...
A book on Mojo programming language, covering from the basics of the Mojo programming language to advanced topics.
ivellapillil
ivellapillilOPβ€’9mo ago
There are chapters on struct and data types. Are you looking for something specific? https://ruhati.net/mojo/_types.html https://ruhati.net/mojo/_struct.html
Mojo By Example: A Comprehensive Introduction to the Mojo Programmi...
A book on Mojo programming language, covering from the basics of the Mojo programming language to advanced topics.
Mojo By Example: A Comprehensive Introduction to the Mojo Programmi...
A book on Mojo programming language, covering from the basics of the Mojo programming language to advanced topics.
Ravindra
Ravindraβ€’8mo ago
On standard library's collections ? and other important topics like memory
ivellapillil
ivellapillilOPβ€’8mo ago
Some collection types are covered in the Types chapter. However at the moment I do not intend to cover much of the stdlib as it is changing quite fast. Sone of the memory functions would be tackled when I cover Pointers and References.
ModularBot
ModularBotβ€’8mo ago
Congrats @ivellapillil, you just advanced to level 4!
Ravindra
Ravindraβ€’8mo ago
Thank u so much
ivellapillil
ivellapillilOPβ€’5mo ago
Now some concepts on memory has been added. https://ruhati.net/mojo/_memory_management_and_pointers.html Please take a look. If you see any mistakes, would be glad if pointed out.
Mojo By Example: A Comprehensive Introduction to the Mojo Programmi...
A book on Mojo programming language, covering from the basics of the Mojo programming language to advanced topics.
Zbornak
Zbornakβ€’4mo ago
Wow I wish I had seen this earlier! Great work!
Stephen
Stephenβ€’4mo ago
Dark mode would be much appreciated the chapter on MLIR interoperability is fantastic
Gennadiy
Gennadiyβ€’4mo ago
Just got into Moj and found this. Excellent!!!
INsanE Alchemist
INsanE Alchemistβ€’4mo ago
Can I make a minor suggestion / request? In the introduction of the fn function format please include the parametric form from the start:
fn my_function[T: Trait](text: String) -> Bool:
fn my_function[T: Trait](text: String) -> Bool:
I guess it's been excluded because it's a more advanced concept. The thing is, It's everywhere in the Mojo source. e,g. print[*Ts Writiable](...). Imaging being a novice, seeing that function signature and then going to the manual which makes not mention of it. You don't need to treat it in detail, but at least acknowledge its existence, and then point to the part where it is treated in detail. This is the one thing in the Mojo documentation I feel is really missing.
ivellapillil
ivellapillilOPβ€’4mo ago
Thanks for the feedback. I did omit it as it was a bit advanced topic. I think mentioning it briefly would help. I will take this feedback for the next release..
Manuel Saelices
Manuel Saelicesβ€’4mo ago
Great new section about associated aliases
Mojo By Example: A Comprehensive Introduction to the Mojo Programmi...
A book on Mojo programming language, covering from the basics of the Mojo programming language to advanced topics.
Zbornak
Zbornakβ€’2mo ago
@ivellapillil This resource is excellent, thank-you! I hope you don't mind me mentioning it, but there are quite a few grammatical errors. I would be more than happy to help correct some mistakes if you would like? I know it's such a minor issue as the actual content is far more important, so if it's not a priority at this point I understand completely.
ivellapillil
ivellapillilOPβ€’2mo ago
@Zbornak Thanks for your feedback! At the moment as you said, I am still focusing on content especially since Mojo is such a moving target. I suspect I would have to rewrite quite a bit of text as Mojo further changes... May be we can take a look at it again once the book is in a reasonably complete form? Thanks for your offer!
Zbornak
Zbornakβ€’2mo ago
That's no problem. As i said earlier, it's such a minor part of the great work you're doing. Of course the offer shall remain open!

Did you find this page helpful?