Better HN
topnewbestaskshowjobs
Log inSign up

_Codemonkeyism

3,311 karma · joined Sep 10, 2015 (11y ago) · 1,565 submissions

Submissions

comment 11y ago · link · parent

You're from Parallel Universe? I've played with the idea of a programming language, looking for an async layer that supports Scala style Future[T]s. Possible with Quasar?

comment 11y ago · link · parent

Will take a look, but have the impression this one is lost. I'd (before reading) use Docker for easier recruiting, use the same for other deployments as well (Postgres etc.), more knowledge/best practices available etc.

comment 11y ago · link · parent

My (unreflected) thoughts, wording not the best, but for me:

1. Push deps to an app means: npm install X

This makes it easier to promote libraries as it's easier to try them out. Just write npm install X and you're done.

2. Pull deps means: declare dependencies in your app and a package manager will download them.

This makes it harder to try libs you find on Github for my taste. It also ties dep management to packaging, where e.g. with Docker I prefer to manage dependency in the Docker file instead.

(npm can do pull too)

comment 11y ago · link · parent

I might partially agree, though point 2 went away for us with Docker.

comment 11y ago · link · parent

About Java packaging:

My personal feeling is that the local install approach of gem/npm has won over the pull dependency approach of Maven/Ant - at least for development, but I think also with Docker approaches.

Java will address this with Jigsaw in Java 9 at last.

http://openjdk.java.net/projects/jigsaw/doc/quickstart.html

Capsule seems to be pulling dependencies if not packaged.

But we switched to JAR/Docker deployments for Scala some time ago with Jetty instead of WARs and so Capsule is welcome and we'll definetly try it. Hope it will switch to supporting Jigsaw with Java 9.

1
4950515253