|
|
|
|
|
by nynrathod
220 days ago
|
|
Saying safe will be too early, but design philosophy is no compromise with security and speed with easy syntax. It passed with 550+ test cases including unit test, memory stress, integration, circular dep, regresssion, valgrind memory leak, fuzz testing, also i added conservative limits max depth for recursion and data length for stability. Find here https://github.com/nynrathod/doolang/blob/main/src/limits.rs Doolang not uses any traits like rust. Rust is great language, but its expose everything in syntax that is also great but as developer who want security+speed with fast development may found issue writing rust, that is main goal of doolang simlicity. I'm still figuring out further design principle of syntax to have less exposing syntax. Doolang have auto memory management with reference counting. Just simple mut keyword introduced for mutating variable let mut data = "data";
no other syntax expose all handling automatic with rc and auto type define if not defined explicitly |
|
About references: am I correct, that any value is reference-counted and one can pass it to a function and mutate it (the original, not a copy).