rational http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html github https://github.com/clojure/core.async
- channels
doc/github https://github.com/ztellman/manifold
- deferreds
Clojure for the Brave and True http://www.braveclojure.com/
Clojure Cookbook https://github.com/clojure-cookbook/clojure-cookbook
Aleph is a library for client and server network programming, built on top of Netty. It provides implementations of the HTTP, TCP, and UDP protocols, using a consistent and simple stream representation atop each. doc http://aleph.io github https://github.com/ztellman/aleph
Catacumba is an asynchronous and non-blocking web toolkit for Clojure built on top of ratpack and netty and with design influenced by ring, pedestal and ratpack. doc https://funcool.github.io/catacumba/latest/
| cd target | |
| clang -dynamiclib ../examples/ffi-struct/struct.c -o /usr/local/lib/libffi-struct.dylib | |
| ponyc ../examples/ffi-struct | |
| ./ffi-struct |
| # BlueMixのコンテナの状況 | |
| $ cf ic images | |
| REPOSITORY TAG IMAGE ID CREATED SIZE | |
| registry.ng.bluemix.net/ibm-mobilefirst-starter latest 12a850394210 2 weeks ago 523.2 MB | |
| registry.ng.bluemix.net/ibm-node-strong-pm latest abee75a82335 13 days ago 237.7 MB | |
| registry.ng.bluemix.net/ibmliberty 8.5.5.7-webProfile6 b381c440bf5f 2 weeks ago 295.1 MB | |
| registry.ng.bluemix.net/ibmliberty javaee7 a95d4f2b93bb 2 weeks ago 325 MB | |
| registry.ng.bluemix.net/ibmliberty latest a95d4f2b93bb 2 weeks ago 325 MB | |
| registry.ng.bluemix.net/ibmliberty webProfile6 6f80eb4ec5cd 2 weeks ago 264.3 MB |
| #!/bin/sh | |
| TEXT=$(/bin/cat /proc/meminfo | /bin/grep -F -e 'MemTotal:' -e 'MemFree:' -e 'Buffers:' -e 'Cached:' -e 'Slab:' -e 'SReclaimable:' -e 'SUnreclaim:' -e 'PageTables:' -e 'SwapCached:' -e 'SwapTotal:' -e 'SwapFree:' | /bin/awk '{print $2 * 1024}'|/usr/bin/tr '\n' ',') | |
| IFS=',' | |
| set -- $TEXT | |
| MemTotal=$1 | |
| MemFree=$2 | |
| Buffers=$3 |
| #!/bin/sh | |
| if [ "$MACKEREL_AGENT_PLUGIN_META" = "1" ]; then | |
| /bin/cat << 'EOF'; | |
| # mackerel-agent-plugin | |
| { | |
| "graphs": { | |
| "memory": { | |
| "label": "Memory usage - Munin style", | |
| "unit": "bytes", |
| 4:00:14 PM: Build ready to start | |
| 4:00:15 PM: Fetching cached dependencies | |
| 4:00:15 PM: Failed to fetch cache, continuing with build | |
| 4:00:15 PM: Starting to prepare the repo for build | |
| 4:00:16 PM: No cached dependencies found. Cloning fresh repo | |
| 4:00:16 PM: git clone [email protected]:odekopoon/antd | |
| 4:00:17 PM: Preparing Git Reference refs/heads/master | |
| 4:00:18 PM: Starting build script | |
| 4:00:18 PM: Installing dependencies | |
| 4:00:19 PM: Downloading and installing node v8.11.3... |
GraalVM 1.0-RC6のCE版とEE版、それぞれでnative-imageでバイナリを作ってみたが、どちらもおなじ感じだった。
動作環境は、 ”Linux or Mac OS X on x86 64-bit systems” ベースは、JDK 1.8.0_171 https://www.graalvm.org/docs/release-notes/#10-rc6 https://www.graalvm.org/downloads/
Ahead-of-time Compilation | GraalVM reference manual https://www.graalvm.org/docs/reference-manual/aot-compilation/