This has updated for 1.20.4, all of the optimization mods mentioned here are compatible with each other and don't affect vanilla behaviour by default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This is free and unencumbered software released into the public | |
| domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors |
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const debug = std.debug; | |
| const builtin = @import("builtin"); | |
| const TypeInfo = builtin.TypeInfo; | |
| const TypeId = builtin.TypeId; | |
| /// Iterator based on async functions. Equivalent to generators in Python, | |
| /// Javascript, etc. | |
| /// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unity | |
| *.unitypackage filter=lfs diff=lfs merge=lfs -text | |
| *.cubemap filter=lfs diff=lfs merge=lfs -text | |
| *.spm filter=lfs diff=lfs merge=lfs -text | |
| # models | |
| *.mb filter=lfs diff=lfs merge=lfs -text | |
| *.MB filter=lfs diff=lfs merge=lfs -text |