Skip to main content

Purely experimental attempt to port a microscopic part of NumPy to Transcrypt using JS typed arrays

Project description

Numscrypt?

Numscrypt is an experimental attempt to port a microscopically Small Sane Subset of NumPy to Transcrypt using JS typed arrays. While some attention is paid to speed, e.g. by using inline JavaScript for inner loops, that is currently not the main focus.

Parts of the code can later be replaced by things like asm.js and simd.js, or, better even, GPGPU code. There’s not yet a clear winner in this area. This implementation is usable as a skeleton to try out those new technologies in parts of the code where speed matters most.

It may seem attractive to compile everything from C++ to asm.js, but the downloads would become very bulky and the readability approaching zero. Or wouldn’t it? Forking and experimenting highly encouraged!!

As with Transcrypt, the eventual goal is not to completely copy a desktop programming environment. Rather a lean and mean subset is sought that can still be very useful, e.g. for science demo’s in the browser.

Jacques de Hooge, Rotterdam, Netherlands

Logo

The first computers were used… to compute

What’s new

  • Overloaded operators added for +, -, *, / and @, not yet mixable with scalars + autotest

  • Setup adapted to Linux’ case sensitivity

  • Dependencies added to setup.py

  • Changes package name to lowercase

  • Modest beginning made with ndarray + autotest for it

Other packages you might like

Licence

Copyright 2016 Jacques de Hooge, GEATEC engineering, www.geatec.com

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Numscrypt-0.0.18.zip (4.3 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page