v/ROADMAP.md
2024-12-04 00:37:41 +02:00

89 lines
2.9 KiB
Markdown

Roadmap with big features.
For a list of all features and fixes, check out the changelog.
## [Version 0.3]
- [x] gc option
- [x] channels
- [x] lock{}
- [x] thread safe arrays
- [x] rune type
- [x] replace `ustring` with `[]rune`
- [x] fix `byte.str()`
- [x] maps with non-string keys
- [x] iOS/Android support
- [x] parallel cgen
- [x] IO streams
- [x] struct embedding
- [x] interface embedding
- [x] interfaces: allow struct fields (not just methods)
- [x] short generics syntax (`foo(5)` instead of `foo<int>(5)`)
- [x] more advanced errors, not just `error('message')`
## [Version 0.4]
- [x] [Coroutines](https://github.com/vlang/v/discussions/11582)
- [x] vfmt: add missing imports (like goimports)
- [x] Recursive structs via options: `struct Node { next ?Node }`
- [x] First class Option type
- [x] Optional function struct fields
- [x] Handle function pointers safely, remove `if function == 0 {`
- [x] Bundle OpenSSL like GC
- [x] Anonymous structs
- [x] Improve vweb: allow separation of logic via "controllers", lots of other fixes
- [x] New VPM site
## [Version 0.5]
- [x] Parallel parser (not integrated yet)
- [x] Parallel checker (not integrated yet)
- [x] Parallel C compilation (not integrated yet)
- [x] Improved vweb => veb framework. Separation of global and context (request local) fields.
Performance and stability. Based on picoev.
- [x] -skip-unused on by default
- [ ] 64/32 bit int depending on arch (will remove array.len limitation on 64 bit systems)
- [ ] `copy()` builtin function (e.g. for easier conversion from `[]Foo` to `[4]Foo`)
- [x] Lambdas: `a.sort(|a, b| a > b)`
- [ ] Custom attributes
- [ ] Contexts that are passed implicitly (e.g. for custom allocation/memory management)
- [x] Implicit Veb contexts passed to requests
- [x] Direct C/C++ interop without generating wrappers (via -experimental for now)
- [ ] Make ORM work without installing developer libs (libpq-dev etc)
## [Version 0.6]
- [ ] Integrate the new parallel parser/checker/cc
- [ ] Incremental compilation
- [ ] Runtime race detector
- [ ] [Thread safe maps](https://github.com/vlang/v/discussions/11729)
- [ ] `recover()` from panics
- [ ] -usecache on by default
- [ ] ORM migrations
- [ ] Allow `$if` everywhere: top level, inside struct definitions, etc
## [Version 1.0]
- [ ] Cross compilation of C
- [ ] Big remaining bugs fixed
- [ ] More powerful comptime
- [ ] Constraints for generics
- [ ] Coroutines on Windows
- [ ] Autofree memory management option ready for production
- [ ] C2V supporting entire C99 standard
- [ ] [Shared compiled libs](https://github.com/vlang/rfcs/issues/27)
### Tooling
- [ ] More stable VLS
- [ ] Profiler improvements
- [ ] Basic interactive shell with search, sort, filter, etc.
- [ ] VPM
- [x] New VPM site
- [ ] Package versioning
- [ ] A better documentation platform
### Web
- [ ] Site that brings everything together in a single style
- [ ] Interactive educational platform (learning to program for beginners)