Skip to content

Enable the ability to specify async backend with examples with some cleanup organization - #47

Merged
bernardassan merged 14 commits into
mainfrom
examples-async-backend
Jul 12, 2026
Merged

Enable the ability to specify async backend with examples with some cleanup organization#47
bernardassan merged 14 commits into
mainfrom
examples-async-backend

Conversation

@bernardassan

@bernardassan bernardassan commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Started organizing one after another and diff got big. Lets finish it now

partially resolves #45

use the async_backend option in examples

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Make aio/lib.zig a file struct and move it to aio.zig
rename aio as AsyncIO
properly namespace types in AsyncIO
cleanup function names
move imports to the bottom

update other files to acurately refer to AsyncIO

Tardy
move imports to the bottom of file
use the new AsyncIO type
namespace types properly

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
rename completion module to results
improve module organizaitons
organize core entry module

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
rename cross.lib module to cross

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
remove unused imports in examples

move imports in aio to the bottom to make logic more prominent

use update organization everywhere

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Organize net.Socket
Organize aio/* modules

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
modularize src.core components
modularize src.runtime components

update tardy to new namespacing
update runtime module to Runtime

move imports to the bottom of file

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
…c0f9b51d8

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
reduce namespacing for std.math in some cases

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
@bernardassan

Copy link
Copy Markdown
Collaborator Author

This branch has help to catch an error in fs.File module #48

@bernardassan
bernardassan merged commit e2dc32b into main Jul 12, 2026
7 checks passed
@bernardassan
bernardassan deleted the examples-async-backend branch July 12, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Organization of test and examples so Zls works without issues

1 participant