Quick Facts

Here are a number of things you might want to know – jCores ...
  • is a Java library, not a new language
  • was built to speed you up, and your app
  • feels as concise as jQuery and as functional as Python
  • takes advantage of all your CPUs
  • is modular and extensible
  • comes with a neat scripting add-on
  • runs great on Java 6 & 7, and was designed with Java 8* in mind
  • is only 193k and open source.
$('readme.txt').file().text().print()
Note to self: Coding should be fun :-)

Overview

jCores addresses two issues. First, to denoise programming in the Java language. Have you ever felt you needed to write more than you should to solve that one simple problem? We hope that for any Java application we can reduce the amount of code you have to type at least a bit.

Second, to increase execution speed. Almost every CPU sold today has more than one computing core. Nonetheless, exploiting these cores in Java is usually more cumbersome than it should be, especially if you’re in a hurry. But instead of inventing yet-another JVM language, (which usually lacks the IDE features you got so used to) we try to address this problem in the language itself, crunching your objects in parallel wherever sensible.

Eventually we hope to demonstrate that Java, the language, can be as sexy as Python in terms of hacking and as parallel as your hardware gets in terms of CPUs.

Getting Started

Getting started is really simple. Just download jCores and add the JAR to your project as you would do with any library.


Download jCores


Next, setup Eclipse or the IDE of your choice. To do so, open the preferences, search for favorites and add


net.jcores.jre.CoreKeeper.$


as a New Member. This has to be done only once. Now wherever you are in your code, you can type $ – <SPACE> and jCores will be ready.
Setting up Eclipse

Sample Snippets

Also check out our examples section with lots of details!

About

jCores has been started by Ralf Biedert, part of the development was funded by DFKI. The project was heavily inspired by jQuery (e.g., the idea of using $ as a short-handed and elegant API entry point), Python (all the functional aspects), and Guava (some API gems). The code is put under the BSD license and is available at code.jcores.net. Current users include Please let us know what you think.