Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rd4com/mojo-learning

๐Ÿ“– Learn some mojo !
https://github.com/rd4com/mojo-learning

Last synced: 27 days ago
JSON representation

๐Ÿ“– Learn some mojo !

Awesome Lists containing this project

README

        

# ๐Ÿ“– Learning mojo language
### โš ๏ธ not affiliated with Modular or Mojo
ย 

### [๐Ÿ” Why](/why.md)
### [๐Ÿ”ฆ Introduction](/introduction.md)
### [๐Ÿซต corrections and contributions](contribute.md)
ย 

# [๐ŸŸข Let's ```mojo build -D your="own" -D version=1 app.๐Ÿ”ฅ``` with ``` ๐Ÿ›ก๏ธConstrained```](./tutorials/use-parameters-to-create-or-integrate-workflow.md)
Integrate apps with existing build scripts, for example

# [`SIMD` is a type, with `methods` and `operators` !](./tutorials/simd-is-a-type-with-methods-and-operators.md)

`SIMD` vectors are first-class citizens.

# [๐Ÿ” Python land and mojo land, PythonObject](tutorials/python-world-mojo-world.md)
note: need revision for better accessibility

# [๐Ÿ›ฃ๏ธ ๐ŸšŒ multi-core (parallelize) with simd](tutorials/multi-core-parallelize-with-simd%20.md)
simd and parallelize.

# [๐Ÿช„ calling mojo functions from python ](tutorials/calling-mojo-functions-in-python.md)
using pointers an ctype

# [๐Ÿ using python in mojo: a to z](tutorials/using-python-in-mojo.md)
first steps and dancing

# [๐Ÿš๏ธ๐Ÿ—๏ธ๐Ÿ  Moving owned values](tutorials/moving-owned-values.md)

```__moveinit__``` ```__del__``` and many more !

# [๐Ÿ“‹ Traits: accept any types that comply to requirements](tutorials/traits.md)
accept types based on some requirements

# [SIMD: ๐Ÿ”ขโœ–๏ธ2๏ธโƒฃ๐ŸŸฐโช2๏ธโƒฃ,4๏ธโƒฃ,6๏ธโƒฃ,8๏ธโƒฃโซ](tutorials/simd.md)
perform an operation on multiple numbers

# [๐Ÿ‘œ Variant, a type that can hold values of different types](./tutorials/variant.md)
The current type it holds can change and be checked

# [๐Ÿ๐Ÿ” type-checking a PythonObject](./tutorials/type-check-class-of-pythonobject.md)
For example, to iterate python arrays that might contains objects of various classes

# [๐Ÿงฌ Parameters, Alias, Struct parameter deduction, more](tutorials/parameters-alias-struct-parameter-deduction.md)
Parameterize! (compile time meta-programming)

# [๐Ÿช„๐Ÿ”ฎ Autotuned parametrized tests](tutorials/autotuned-parametrized-tests.md)
Testing for multiple ```SIMD``` sizes

# [๐Ÿ”ฅ With blocks: with my_struct(1) as v](tutorials/with-blocks-for-struct-parametric-minimal-raise.md)
with blocks from struct (parametric/minimal/raise)

# [๐Ÿƒ (SPEED) Parametric struct through CPU registers](tutorials/parametric-struct-trough-cpu-registers.md)
the @register_passable decorator

# [๐Ÿž๏ธ getattr: dynamic and static struct members](tutorials/getattr-dynamic-and-static-struct-members.md)
the_instance.method_not_defined() handled

# [๐Ÿคน making lists of structs with magic operators](tutorials/lists-of-structs-magic-operators-pre-lifetimes.md)
unsafe references abilities until lifetimes

# ๐Ÿซ™ [struct as a namespace (@staticmethod)](tutorials/struct-as-namespace.md)
example: wrap python functions

# [๐Ÿณ๏ธ make test builds using a custom flag](tutorials/make-test-builds-using-a-custom-flag.md)
mojo build program.mojo -D...

# [๐Ÿ•ฏ๏ธ reader.read\[Int32,"swap"\](3) in 45 lines](tutorials/reader-in-few-lines-with-endian-ness.md)
v0.4.0: powerfull magic

# [๐Ÿ”ฎ Autotune: optimization made easy](tutorials/autotune-optimize-by-search-and-benchmark.md)
Easy to use

# [๐Ÿ”ฅ making compile time functions](tutorials/compile-time-functions.md)
Pointer[Int] of squared numbers

# [๐Ÿงน ASAP: will call ```__del__``` when last used](tutorials/memory-asap-and-destructor-behaviours.md)
when do del get called on instance

# [๐Ÿ—๏ธ moveinit ๐Ÿ’ฟ๐Ÿ’ฟ copyinit ๐Ÿฟ๏ธ non-destructing move](tutorials/moveinit-copyinit-takeinit.md)
implement in struct: copy of instance, move, taking move

# ๐Ÿค™ [callbacks trough parameters](tutorials/callbacks-trough-parameters.md)
toy markdown generator as an example

# [๐ŸŒŠ 256Hz: simd cosine and plot it](tutorials/vectorise-simd-cosine.md)
one cycle by vectorizing simd instructions, plot with python

# [๐Ÿฆœ env, argv and param_env (for alias)](tutorials/env-argv-param_env-for-parameters.md)
arguments: command-line, env, alias

# [โŒจ๏ธ introduction to types](tutorials/introduction-to-types.md)
syntax and concepts: not complicated

# [Try & Except: โœ‹->โš ๏ธ->โ›‘๏ธ->๐Ÿฉน->๐Ÿ‘ ](tutorials/try-and-except-errors-handling.md)
raise custom errors and recover (with example)

# [๐Ÿ“ซ find out changes and improvements when there is a new update](tutorials/what-have-change-when-there-is-a-new-update.md)
changelogs for new comers