codon
glow
Our great sponsors
codon | glow | |
---|---|---|
34 | 60 | |
13,760 | 14,530 | |
0.9% | 2.8% | |
7.9 | 6.9 | |
7 days ago | 12 days ago | |
C++ | Go | |
GNU General Public License v3.0 or later | MIT License |
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.
codon
- Should I Open Source my Company?
-
Python running on the Dart VM?
I found at least one project that managed to compile python AOT to LLVM https://github.com/exaloop/codon. Even if LLVM is more expressive than Dart Kernel, that should at least be some evidence that this might not be too impractical.
-
Codon: Python Compiler
Repo for more details: https://github.com/exaloop/codon
> What is Codon?
> Codon is a high-performance Python compiler that compiles Python code to native machine code without any runtime overhead. Typical speedups over Python are on the order of 10-100x or more, on a single thread. Codon's performance is typically on par with (and sometimes better than) that of C/C++. Unlike Python, Codon supports native multithreading, which can lead to speedups many times higher still. Codon grew out of the Seq project.
> What isn't Codon?
> While Codon supports nearly all of Python's syntax, it is not a drop-in replacement, and large codebases might require modifications to be run through the Codon compiler. For example, some of Python's modules are not yet implemented within Codon, and a few of Python's dynamic features are disallowed. The Codon compiler produces detailed error messages to help identify and resolve any incompatibilities.
> Codon can be used within larger Python codebases via the @codon.jit decorator. Plain Python functions and libraries can also be called from within Codon via Python interoperability.
Their fannkuch benchmark seems to be a bit dishonest. They claim an enormous perf delta on https://exaloop.io/benchmarks.html but fannkuch uses factorial a lot and they define factorial with a very small (n=20) table: https://github.com/exaloop/codon/blob/fb461371613049539654c1...
Disclaimer: I've worked on several Python runtimes and compilers, but I'm not by any means out to get Codon. Just happened across this by accident while looking at their inline LLVM, which is neat.
-
Mojo ā a new programming language for all AI developers
Another "Python with high-performance compiled builds" would be https://github.com/exaloop/codon.
-
Is there a way to use turn a project into a single executable file that doesn't require anyone to do anything like install Python before using it?
Try Codon? https://github.com/exaloop/codon
- Since when did Python haters spread out everywhere? Maybe DNF5 would be faster because of ditched it, maybe.
- What are your thoughts on Codon compiler having a paid licence?
-
Python-based compiler achieves orders-of-magnitude speedups
nit: 'Python-based' would imply to me that it's written in Python, but it looks like it's mostly C++ & LLVM:
- Show HN: Codon: A Compiler for High-Performance Pythonic Applications and DSLs [pdf]
glow
-
Essential Command Line Tools for Developers
To get started, install Mods and check out some of the examples below. Since Mods has built-in Markdown formatting, you may also want to grab Glow to give the output some pizzazz.
- Ask HN: How do you synchronise your notes?
- How would you read your files if Obsidian disappeared?
-
Show HN: GPT-engineer ā platform for devs to tinker with AI programming tools
Yup, those seem to be the key challenges. I've been making good progress on them, but there's plenty more work to do!
On the topic of "AI-generated PRs", I used my tool to file a PR to the `glow` CLI tool. I don't know the go language, so I had aider make the changes to glow.
https://github.com/charmbracelet/glow/pull/502
I've also been able solve a couple of github issues that were file by users by just pasting the issue into my tool... it fixed itself. Links below:
https://github.com/paul-gauthier/aider/issues/13#issuecommen...
https://github.com/paul-gauthier/aider/issues/5#issuecomment...
- FLiPN-FLaNK Stack Weekly May 8 2023
-
Show HN: Frogmouth ā A Markdown browser for your terminal
Nice idea! Iām excited to check it out. I write a lot of docs in Markdown and this could be a great way to browse them.
Out of curiosity, have you seen glow[0]?
-
Recommendations on file/dir/module structure, common dependencies, and/or anti-patterns for writing CLI tool in Rust
Charm's Glow is a joy to use, a good example of having the Charm's Bubbletea usage - but from the code perspective, it's a bit difficult to navigate as many code paths are put in the same package
-
Markdown in neovim
glow.nvim is a wrapper around the terminal tool glow. you could probably adapt it to other terminal markdown readers tho
-
I wish Asciidoc was more popular
The problem I have with AsciiDoc (AD) and Markdown (MD) is that they are too effective (in the best way)! Follow my reasoning for a moment, please...
I was reviewing a command-line MD reader today. I think it was the nth time I've looked it over. It's called glow : https://github.com/charmbracelet/glow
I always come to the same conclusion. I don't need it. I don't need to remember to use (yet) another command line program to read MD or perform a very specific (and non-vital) function.
The reason is that MD and AD are so very easy to read. They are too effective at their jobs. They aren't like HTML tags that get in the way of the text. You barely even notice MD/AD in most(?) cases. Text plus MD/AD are incredibly easy to read without a 3rd-party program "rendering" the results.
Having said that... the only time I got really excited about MD/AD was when there was a post about Textual Markdown : https://news.ycombinator.com/item?id=34028765
It wasn't that the "rendered" text looked great (it looked beautiful, btw) but I could see 'Textual Markdown' turning into a command-line, online browser just for MD text! Think about that...
I even thought about how great it would be if the GeminiSpace folks : https://en.wikipedia.org/wiki/Gemini_(protocol)?useskin=vect... : embraced MD/AsciiDOC instead of their limited markup language.
It's exciting to think of MD/AD making themselves an alternative lightweight tagging system on the web. Exciting to think about a lightweight web in general - no tracking, adware, tons of JS, etc...
Exciting to think about a bunch of browsers growing out of this (ie; you don't need billions/yr to support MD/AD browsers) - from full-blown GUIs to, well... "Textual-Markdown".
Anyway... MD/AD would be great if it grew beyond offline use. For offline use only... you really don't need rendering. Maybe it helps a bit with really long files but otherwise...
-
what is the simplest MarkDown viewer ?
Glow
What are some alternatives?
markdown-preview.nvim - markdown preview plugin for (neo)vim
pcstat - Page Cache stat: get page cache stats for files on Linux
mdless
mdcat - cat for markdown
bat - A cat(1) clone with wings.
glow.nvim - A markdown preview directly in your neovim.
Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
bubbletea - A powerful little TUI framework š
hurl - Hurl, run and test HTTP requests with plain text.
GitDorker - A Python program to scrape secrets from GitHub through usage of a large repository of dorks.
Numba - NumPy aware dynamic Python compiler using LLVM
logo-ls - Modern ls command with vscode like File Icon and Git Integrations. Written in Golang