Transcrypt
FizzBuzz Enterprise Edition
Our great sponsors
Transcrypt | FizzBuzz Enterprise Edition | |
---|---|---|
16 | 329 | |
2,805 | 20,430 | |
0.3% | 1.0% | |
3.2 | 0.0 | |
8 months ago | 6 months ago | |
Python | Java | |
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.
Transcrypt
- Ask HN: Why don't browsers just build a non-JS interpreter?
-
How does PyScript actually work?
This is the primary difference between Pyodide and projects like Transcrypt or Brython: rather than transpiling to JavaScript, you get the real-deal CPython interpreter running client-side in the user's browser. There are a few things that don't work out of the box, since CPython usually runs on a computer and the Browser environment has some unique restrictions (lack of low-level access to networking, for one), but most things do just work.
-
alternatives to the javascript ecosystem
In the past, I've personally used GWT to transpile Java to JavaScript in order to share some complex code modules that we needed to use on both the server and client for an enterprise application. In more recent years, I've been using Transcrypt to develop React/MUI applications that are coded in Python. So I'm able to use JS libraries that are proven to work great in a web browser, but use my preferred language to code to the API of those libraries. This approach is certainly not for everyone, but it can be a viable option in some cases.
-
What's your Python story?
I now use Python everywhere. Desktop (PySide), embedded (MicroPython), web dev (React via Transcrypt), mobile (Kivy), and just general scripting. I love the versatility of Python, the ease of reading it without the visual cruft of other languages, and the availability of existing libraries that do just about everything you can think of. I also agree with the OP on the welcoming attitude of the Python community. The fact that Python is used in so many different areas leads to many new learning experiences when talking to other Python developers.
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
Transcrypt is pretty usable for this.
-
What do you guys use python for?
Transcrypt transpiles Python into JavaScript in the same way that TypeScript gets transpiled into JavaScript. It lets Python code word with JavaScript libraries that can then be run in a web browser.
-
Graphs in Python web app
There are options for writing Python and transpiling it into JavaScript but, frankly, they suck (https://www.transcrypt.org/).
-
React JSX vs react with HMTL
Lol, I'll tell you but you're not gonna like it - I write React applications in Python using a Python-to-JS transpiler called Transcrypt, and the source needs to be valid lintable Python code, so no JSX.
-
We've been lied to: JavaScript is fast
https://github.com/qquick/Transcrypt
FizzBuzz Enterprise Edition
-
Simple Lasts Longer
That "Hello World Enterprise Edition" looks dangerously under-engineered - I could understand it! Far better to follow the best practices demonstrated in the Fizz Buzz Enterprise Edition...
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
-
Writing Clean Code with FastAPI Dependency Injection
Clean code is a balancing act - you’ll want to make sure you don’t turn your codebase into something like this.
- Milyen hasznos Github repokat ismertek?
-
Java 21 makes me like Java again
???
I'll answer your question with a question: Have you seen https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris... ? :)
I'm guess that to those of us who remember when Java came out, "FizzBuzz: EE" is what we think of when we think of Java. :P
In Java I have to type a bazillion characters to get anything done! And make all these useless directories and files and InterfaceClassFactoryProtocolStreamingSerializer BS. And worry about how that executes.
C++? No bloat*, just speed
*Yes, there's some _optional_ bloat. But compared to Java? no contest.
-
No One Wants Simplicity
There’s a difference between complexity that’s inherent to the problem, and complexity that’s added by developers who have drunk architectural cool aid.
This is an example where all of the complexity is caused by rigid adherence to the most popular architectural patterns of about 10 years ago.
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
It looks completely ridiculous to modern eyes, but during peak OOP it was just how you should do it.
If you like simplicity then your fizz buzz implementation would be a few lines.
-
55 GiB/s FizzBuzz (2021)
maybe it's fast, but is it enterprise quality? https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
- Ask HN: What are some of the most elegant codebases in your favorite language?
-
Another half-backed dependency injection crate
Nope, I wouldn't use it. I've seen many projects that use DI containers in my career, and every single one of them was a pain to navigate, particularly when trying to get a foothold as a newcomer. It can also force you into some very enterprise-y code patterns. Keep things simple. My mantra is "Add complexity as you find that you need it, and not a second sooner".
-
I'll use a hashmap 😛
Do you want a quick hack or a coder that's up to enterprisey standards? A proper solution could be in the 1.5 KLOC ballpark...
-
Is sequential IO dead in the era of the NVMe drive?
> you have no idea how much happens so your transaction doesn't get lost, corrupted, or errored out.
Maybe he doesn't, maybe he does - you don't know nor do I.
I'm pretty sure this is how IBM salesmen used to respond when confronted with those newfangled Unix systems which were starting to appear here and there, nibbling first, then taking larger bytes out of their market share. Instead of the litany of diverse systems they'd have thrown LPARs, SYSPlexs and ESMs around but in the end it still came down to the same thing: this stuff is too complicated to be left to amateurs. They were right, in a way... until those amateurs grew their wisdom teeth and took a large part of their market away from them.
Yes, "enterprise" stuff is complicated - often overly so [1] - and it has its place. This does not make it the only viable solution to these problems, something will eventually come up to eat your lunch just like IBM saw its herd of dinosaurs being overtaken by those upstart critters from the undergrowth. Maybe some smart software system which "guarantees" data reliability and availability without the need for "enterprise" storage devices? It wouldn't be the first time after all.
[1] https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
What are some alternatives?
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Logback - The reliable, generic, fast and flexible logging framework for Java.
awesome-functional-python - A curated list of awesome things related to functional programming in Python.
Simple Java Mail - Simple API, Complex Emails (Jakarta Mail smtp wrapper)
yGuard - The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
bitburner - Bitburner Game
Java-Hello-World-Enterprise-Edition
sqlglot - Python SQL Parser and Transpiler
is-odd - I created this in 2014, the year I learned how to program. All of the downloads are from an old version of https://github.com/micromatch/micromatch. I've done a few other things since: https://github.com/jonschlinkert.
JavaCV - Java interface to OpenCV, FFmpeg, and more
jsweet - A Java to JavaScript transpiler.