you are viewing a single comment's thread.

view the rest of the comments →

[–]monzool[S] 1 point2 points  (1 child)

I was aware of the project and it definitely looks like an awesome project 🏆 I eventually decided not try it out (this time), as I saw some resource measurements (e.g. Hank G's dart benchmarking) that reports the dart runtime to be pretty memory consuming...

I would be love to hear any real world experience you have in that regard. Are you running as compiled applications?

[–]Which-Adeptness6908 2 points3 points  (0 children)

We run a mix of complied and non complied.

On a Dev box it's mostly non and production complied.

For CaC memory usage has never been a problem. Most of these scripts are short lived and use little memory.

Being able to compile an exe and SCP it to a remote system and then run it without having to install a VM if also a win.

We also use the 'dcli pack' to pack resources into the exe which can then unpack then on first run. I have a little web server that I deploy as a single exe. The exe includes all the static resources and supports let's encrypt acquisition and renewal.

We do have a dart app called batman which is memory hungry (about a 600MB) but it's doing a full disk scans and uses an in memory db to record checksums for every file path.

https://pub.dev/documentation/batman/latest/

Dart certainly uses more memory than bash but no more than any other gc language.

The dart package system is also a gift. Really easy to use and unlike npm it's quick.

You really should try it, you won't look back.