Hacker News new | ask | show | jobs
by masklinn 5187 days ago
> Fabric is integrated with dynamic languages, we 're not interpreting JS or Python (we work with both languages).

Neither does Cython.

> Fabric is basically a high-performance threading engine that you can call from your dynamic language

Well Cython is for writing Python modules, so it's integrated with Python only. But that's pretty much it.

> the key element is that the operator code (KL) enables the high-performance. This KL is only required for the operators, and is not as difficult or complex as C/C++ to use - it's designed purely for this task.

So's Cython. Cython compile to a native module, that native module is simply imported and used from regular Python code.

> A regular Python or JavaScript developer can pick it up.

A regular Python developer really shouldn't have any trouble picking up cython.

1 comments

as per my other comment: "please correct me if I'm wrong, but I don't see anything about Cython handling multi-threading and I don't see anything about dynamic compilation on target. I just had a flick through their documentation, so if this stuff is in there then I missed it..."
When we designed Fabric, our goal was not to speed up Python, or JavaScript. Our goal was to build high performance multi-threaded applications on top or dynamic languages.

Fabric is for software developers who need to build high performance software, and also use dynamic languages.

V8 will continue to speed up, and may even get close to the speed of native code. But in that time, CPUs architectures will continue to gain more cores, widening the gap between multi-threaded code, and dynamic code.