HNHacker News
TopNewBestAskShowJobs

jcstk

329 karma · joined April 1, 2017

https://joeconway.io
submissionscomments
jcstk··on Show HN: Aqueduct – Dart on the Server
When running `wrk` to do performance testing and monitoring in Observatory [1] and with anything we have in production, I haven't seen an Isolate or the process ever die. This may be a question better suited for the Dart VM team, I'll see if I can't ping someone.

And yeah, as a native iOS developer for many years, I finally sat down and built something in Flutter this weekend and really liked it.

1: https://dart-lang.github.io/observatory/

jcstk··on Show HN: Aqueduct – Dart on the Server
Thanks for the great feedback. I wondered about that as well - as you can probably tell, I'm neither a good marketer or a good web developer.

The 'cohesive framework' one made sense in my head - the ORM and the HTTP stuff work together so that errors thrown by the ORM are translated into the appropriate status codes without having to catch the exception. I can see how just reading that may make no sense.

I'll check out the webpages for both Flask and Spark and adjust accordingly. The real info for developers is at https://aqueduct.io/docs anyhow.

jcstk··on Show HN: Aqueduct – Dart on the Server
So Dart has a few different compilation targets: JavaScript for building front-end web apps and the Dart VM [1]. There's also some work being done for other compilation targets, specifically for faster development cycles when doing front-end web stuff.

The interesting thing about the Dart VM is there's no JavaScript at all. You can even link to C and C++ code from Dart.

1: Here's a discussion on how the Dart VM is implemented: https://groups.google.com/a/dartlang.org/forum/#!topic/misc/...)

jcstk··on Show HN: Aqueduct – Dart on the Server
Thanks, good idea and will definitely do that.
jcstk··on Show HN: Aqueduct – Dart on the Server
It runs directly on the Dart VM, which has its own HTTP server implementation. That's the interesting thing about the Dart VM - it's a C++ executable with no ties to JS. Third party modules may be provided by through Dart's package manager, https://pub.dartlang.org.

It's command-line tool runs the application, but there isn't much from stopping you from just using the `dart` command line tool and a Dart script to start it.

edit: Basically, you can run this on any machine that can install Dart.

jcstk··on Show HN: Aqueduct – Dart on the Server
(And we'd also really love to hear any critical feedback.)
jcstk··on Show HN: Aqueduct – Dart on the Server
Aqueduct is a server-side framework for building and deploying REST applications. It is written in Dart. Its goal is to provide an integrated, consistently styled API.

The framework contains behavior for routing and authorizing HTTP requests, persisting data in PostgreSQL, testing, and more.

One thing that makes Aqueduct really interesting is that it runs the application on a few isolated-memory threads. This is a concept interpreted from the Erlang/Elixir that leverages Dart 'Isolate's. (Here's some documentation on that: https://aqueduct.io/docs/http/structure/)

The aqueduct command-line tool serves applications, manages database schemas and OAuth 2.0 clients, and generates OpenAPI specifications.

jcstk··on “They Basically Reset My Brain”
Here are some interesting perspectives from NFL players on that thought:

http://bleacherreport.com/articles/2705935-joe-thomas-says-h...

https://www.washingtonpost.com/news/sports/wp/2016/06/07/chr...

jcstk··on “They Basically Reset My Brain”
Glad to see The Players Tribune on here. If you haven't read it before, it has some amazing content - not just from pro athletes, but college athletes you've never heard of.

The perspectives are often fascinating. Here's another great one from Bronson Koenig, a Native American and one hell of a basketball player, on his experience at Standing Rock: https://www.theplayerstribune.com/bronson-koenig-wisconsin-b....

jcstk··on Smalltalk to get a second crack at the whip
For server side Dart, http://stablekernel.github.io/aqueduct/
← PreviousPage 2 of 2