Skip to content

rd4com/mojo-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“– Learning mojo language

โš ๏ธ not affiliated with Modular or Mojo

ย 

ย 

Integrate apps with existing build scripts, for example

note: need revision for better accessibility

simd and parallelize.

using pointers an ctype

first steps and dancing

__moveinit__ __del__ and many more !

accept types based on some requirements

perform an operation on multiple numbers

The current type it holds can change and be checked

For example, to iterate python arrays that might contains objects of various classes

Parameterize! (compile time meta-programming)

Testing for multiple SIMD sizes

with blocks from struct (parametric/minimal/raise)

the @register_passable decorator

the_instance.method_not_defined() handled

unsafe references abilities until lifetimes

example: wrap python functions

mojo build program.mojo -D...

v0.4.0: powerfull magic

Easy to use

Pointer[Int] of squared numbers

when do del get called on instance

implement in struct: copy of instance, move, taking move

toy markdown generator as an example

one cycle by vectorizing simd instructions, plot with python

arguments: command-line, env, alias

syntax and concepts: not complicated

raise custom errors and recover (with example)

changelogs for new comers

About

๐Ÿ“– Learn some mojo !

Resources

License

Stars

Watchers

Forks