Skip to content

Immixcons - #66

Draft
pliniker wants to merge 76 commits into
rust-hosted-langs:masterfrom
pliniker:immixcons
Draft

Immixcons#66
pliniker wants to merge 76 commits into
rust-hosted-langs:masterfrom
pliniker:immixcons

Conversation

@pliniker

@pliniker pliniker commented Aug 28, 2025

Copy link
Copy Markdown
Member

Moving to a conservative Immix implementation.

See https://www.cs.cornell.edu/courses/cs6120/2022sp/blog/conservative-gc/

Replace the custom SimpleLogger implementation with the standard env_logger
crate. This simplifies the codebase while maintaining all essential logging
functionality.

Key changes:
- Add env_logger 0.11 as a dependency
- Replace custom SimpleLogger with env_logger::Builder initialization
- Migrate from EVALRS_LOG_FILE environment variable to standard RUST_LOG
- Preserve compile-time log level filtering (Trace in debug, Error in release)
- Reduce logging.rs from 111 lines to 21 lines

Benefits:
- No unsafe code needed for logging
- Uses battle-tested standard library implementation
- Full ecosystem integration with standard RUST_LOG variable
- Easier maintenance and debugging
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.

1 participant