Skip to content
프로젝트

소개

이 프로젝트에는 어떤 Clojure 라이브러리가 실제로 GraalVM에서 컴파일되고 네이티브 이미지를 생성하는지 검증하기 위한 "hello world" 프로젝트 모음이 포함되어 있습니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Clojure meets GraalVM

This project contains a set of "hello world" projects to verify which Clojure libraries do actually compile and produce native images under GraalVM.

Here the instructions on how to build your own Clojure projects with GraalVM.

Here the list of libraries tested:

Status Library Description Remarks
:white_check_mark: Clojure core Clojure core
:white_check_mark: clojure spec Clojure Spec
:white_check_mark: clojure/tools.logging Logging library
:white_check_mark: clojure/tools.logging+log4j Logging library
:white_check_mark: aleph Web server
:white_check_mark: amazonica+s3 Cloud API wrapper library
:white_check_mark: asami Asami DB
:white_check_mark: aws-api+s3 Cognitect AWS client library
:white_check_mark: buffy Buffy, The Byte Buffer Slayer
:white_check_mark: carmine Redis client and message queue for Clojure
:white_check_mark: cheshire JSON parser/writer
:white_check_mark: cli4clj Interactive Command Line Interfaces (CLIs) for Clojure Applications
:white_check_mark: cljfmt Source Formatter
:white_check_mark: clj-http-lite Web client
:x: clj-sophia A fast RAM-Disk hybrid storage Runtime error/JNA
:white_check_mark: clj-uuid RFC4122 Unique Identifiers for Clojure No objects in namespaced uuids
:white_check_mark: clara-rules A Clojure forward-chaining rules engine Using AOT compiled session
:white_check_mark: clostache {{ mustache }} for Clojure
:white_check_mark: component Managing lifecycle and dependencies of software
:white_check_mark: cprop Configuration/property management
:white_check_mark: datascript Immutable database and Datalog query engine
:warning: fastmath Fast and primitive math and stats library See README
:white_check_mark: fire A lightweight clojure client for Firebase based using the REST API.
:white_check_mark: hiccup Fast library for rendering HTML in Clojure
:white_check_mark: http-kit Web server and server
:white_check_mark: integrant Alternative to mount, component etc.
:white_check_mark: lacinia A GraphQL server implementation in pure Clojure
:white_check_mark: loom A Graph manipulation and computation library.
:x: monger An idiomatic Clojure MongoDB driver with sane defaults
:white_check_mark: μ/log Event logging system
:white_check_mark: next.jdbc + honeysql Database driver and SQL-in-Clojure
:white_check_mark: nippy Clojure serialization/deserialization library
:white_check_mark: pp-grid A text-formatting library
:white_check_mark: ring/jetty Web server
:white_check_mark: RoaringBitmap Bitset library
:white_check_mark: safely Circuit breaker
:white_check_mark: secure-random SecureRandom initialization
:white_check_mark: selmer A fast, Django inspired template system for Clojure.
:white_check_mark: system Layer on top of components
:white_check_mark: tech.ml.dataset A Clojure high performance data processing system
:white_check_mark: timbre Pure Clojure/Script logging library
:white_check_mark: pedestal Pedestal is a sturdy and reliable base for services and APIs. requires reflect-config.json
:white_check_mark: claypoole Claypoole: Threadpool tools for Clojure
:white_check_mark: upit Very very simple library to initialise your app stack.
:white_check_mark: zetasketch Sketch data structures like HLL requires reflect-config.json
:white_check_mark: pg2-core A Fast PostgreSQL Driver For Clojure

More libraries to come (PRs are welcome).

Interesting GraalVM documentation to build native-images:

How to contribute

If you wish to add a library and contribute with a PR please follow these steps:

  1. Fork the project
  2. use the sample-project as a template. cp -r sample-project my-library
  3. add the library to the project.clj and the native-image parameters used
  4. amend the my-library/src/simple/main.clj to use the library
  5. amend the my-library/README.md with the info you discovered.
  6. Make a PR with your findings and "Thank you" in advance.

License

Copyright © 2019-2021 Bruno Bonacci

Distributed under the Apache License v 2.0 (http://www.apache.org/licenses/LICENSE-2.0)

관련 프로젝트 살펴보기

불러오는 중…