StarWarsArrays.jl
Coconut
StarWarsArrays.jl | Coconut | |
---|---|---|
10 | 27 | |
122 | 3,951 | |
- | - | |
0.0 | 9.3 | |
almost 2 years ago | 6 days ago | |
Julia | Python | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
StarWarsArrays.jl
- Star Wars Arrays
- It starts at 0 right?
-
PyCharm is the worst IDE I have used. /s
I raise you https://github.com/giordano/StarWarsArrays.jl
-
How do some of my coworkers still use ML
Why not Star Wars Indices (4,5,6,1,2,3,7,8,9...)? https://github.com/giordano/StarWarsArrays.jl
-
Dealing with strings in Julia, patterns and anti-patterns
> The documentation disagrees about string indices not starting with 1 As priorly said, I'm speaking about strings, not `String` in particular. So, to write code which work for all AbstractString (which have basic string functions), you must not assume that the first indexing is 1, you can have degenerate cases such as : https://github.com/giordano/StarWarsArrays.jl (this is for vectors, but creating a similar type, for AbstractString isn't impossible) or just strings with an offset indexing.
-
The counter-intuitive rise of Python in scientific computing
There are other choices like https://github.com/simonster/TwoBasedIndexing.jl and https://github.com/giordano/StarWarsArrays.jl if you do not like 1-based indexing.
-
PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly)
This is a total non issue as indexing is an operation that is subject to multiple dispatch. For a humorous example see https://github.com/giordano/StarWarsArrays.jl
-
Arrays start from bony[1]
The cool thing with Julia is that array indices aren't inherent properties, and may be changed locally by using appropriate wrappers. This means that the same underlying array may start at 0 in one part of the code, at 1 in another, and perhaps use the star-wars indexing in yet another section if that's necessary.
-
Why does Julia adopt 1-based index?
Adding https://github.com/giordano/StarWarsArrays.jl to the list for some extra spice
-
some may hate it, some may love it
You should also check out https://github.com/giordano/StarWarsArrays.jl and https://github.com/giordano/RandomBasedArrays.jl
Coconut
- Coconut: Simple, elegant, Pythonic functional programming
-
Mojo is now available on Mac
> to be part of the Python ecosystem
I'd rather use Python if I'm in the Python ecosystem. So many attempts were made in the past to make a new language compatible with the Python ecosystem (look up hylang and coconu -- https://github.com/evhub/coconut). But at the end of the day, I'd come back to Python because if there's one thing I've learnt in recent years it's this:
minimize dependencies at all costs.
- I modified and hacked away xonsh source code
- Show HN: I mirrored all the code from PyPI to GitHub
-
Leaving Haskell Behind
Have you had a look at Coconut? I don't know if it'll push all your buttons but whenever I hear someone who's reasonably content with Python but wants more FP goodies I always think of it. https://github.com/evhub/coconut . It's basically a superset of Python3 that transpiles into Python3 and is compatible with MyPy. I don't think I'd code Python w/o it ever again assuming I had the choice. The biggest negative for me is that there's no IDE support for the language last I looked, though of course you can work with the transpiler output (plain Python) in your favorite Python IDE. It might be fun to play around with, I know that I really enjoyed it but then I got spoiled by the language+tooling of Scala3, but if you don't have that option ...
- Codon: A high-performance Python compiler
-
[2022 Day 1-7] Going for 1 language per day, looking good so far
If you're looking for suggestions I want to put forward zig lang if you like C/C++ and Coconut Lang if you like Python!
- Show HN: Programming Google Flutter with Clojure
-
What is your favourite programming language? (other than Scala)
F# and also the fun, compile-to-Python, functional language called Coconut.
What are some alternatives?
OffsetArrays.jl - Fortran-like arrays with arbitrary, zero or negative starting indices.
Toolz - A functional standard library for Python.
TailRec.jl - A tail recursion optimization macro for julia.
Pyrsistent - Persistent/Immutable/Functional data structures for Python
TwoBasedIndexing.jl - Two-based indexing
fn.py - Functional programming in Python: implementation of missing features to enjoy FP
Cython - The most widely used Python to C compiler
funcy - A fancy and practical functional tools
wenyan - 文言文編程語言 A programming language for the ancient Chinese.
returns - Make your functions return something meaningful, typed, and safe!
BinaryBuilder.jl - Binary Dependency Builder for Julia
effect - effect isolation in Python, to facilitate more purely functional code