News for hackers. Stuff that matters.
Re:Why I'm joining the Dart Team by _pmf_ on Saturday January 09, 2016 @07:22AM (#10870998)
> I'm wondering if there are plans to replace Java with Dart or Go on the Android platform.

There are very few languages choices where I prefer to keep using Java. Go and Dart are two of these.

I'm a dedicated Apple skeptic, but Swift is nicer than both of these trainwrecks.

If what the article claims is true (that Dart can be used to target µCs), which I highly doubt, it might become interesting for me. My doubts arise from the fact that the standard library for a language makes some opinionated design choices, and in my opinion it's impossible to make an idiomatic library that works the same (and is usable!) in a GC context (existing deployment) and a non-GC context (embedded).

It's sad that of the dynamic languages, Python and Ruby are performance deadends, and LuaJIT is too obscure for most people.

Re:Why I'm joining the Dart Team by kelseydh on Saturday January 09, 2016 @09:40AM (#10871368)
Elixir (and the Phoenix web framework) is getting a lot of attention these days from Rubyists who are looking for something that speaks their language that is also fast in realtime distributed environments.
Re:Why I'm joining the Dart Team by rdtsc on Saturday January 09, 2016 @12:59PM (#10872144)
+1 for Elixir and Erlang VM.
Re:Why I'm joining the Dart Team by coldtea on Saturday January 09, 2016 @11:30AM (#10871784)
>My doubts arise from the fact that the standard library for a language makes some opinionated design choices, and in my opinion it's impossible to make an idiomatic library that works the same (and is usable!) in a GC context (existing deployment) and a non-GC context (embedded).

What microcontrollers you have in mind? He mentioned Arduino in the post. It's not like we need Dart for extremely low spec-ed mCs, and we could run GC just fine in higher level mCs for ages...

Re:Why I'm joining the Dart Team by xxgreg on Saturday January 09, 2016 @07:08PM (#10873480)
> What microcontrollers

STM32F7

* high-performance MCU with ARM Cortex-M7 core

* 32-bit ARM CPU @ 216 MHz

* 320 KB of RAM

* 512-1024 KB of Flash

* Single precision FPU and no fancy MMU

https://github.com/dart-lang/fletch

https://www.youtube.com/watch?v=Hx2iGEAvZRk

http://gotocon.com/dl/goto-cph-2015/slides/KasperLund_Intern...

Edit: Sounds like they plan to support the Arduino Due, but this is not implemented yet. They do not intend to support 8bit or 16bit MCUs.

Re:Why I'm joining the Dart Team by _pmf_ on Saturday January 09, 2016 @12:47PM (#10872089)
> What microcontrollers you have in mind? He mentioned Arduino in the post. It's not like we need Dart for extremely low spec-ed mCs

The article mentions the Arduino, which in its original incarnation is an extremely tiny AVR. Maybe the author has a more powerful Arduino variant in mind, but I'm pretty sure you cannot run a GC runtime on the AVR Arduino. The only language that runs on such tiny devices is probably eLua.

> , and we could run GC just fine in higher level mCs for ages...

Yes, RPi/BBB won't have a problem.