Dart 2.6 brings native compilation to the desktop

Dart 2.6 brings native compilation to the desktop

0
149





Dart 2.6 brings native compilation to the desktop | InfoWorld










. A new version is offered in Dart 2.6.

The dart2native compiler also can be used for small services such as a back-end supporting a front-end app using the . But dart2native does have some initial limitations, such as no cross-compilation support. The compiler supports creating machine code only for the OS it is running on, so would need to be run three times to create executables for MacOS, Linux, and Windows. Executables produced also cannot be signed.

Also featured in Dart 2.6 is a preview of static extension methods, a language feature that could solve an issue with introducing new functionality to existing types.

.