|7 days ago||6 days ago|
|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.
Why is Golang(1.17) very slow when it comes to fasta, pidigits, k-nucleotide, binary-trees compared to Java 17
1 project | reddit.com/r/golang | 7 Dec 2021
If you're talking backend APIs, a much more representative set of benchmarks would be the Techempower web framework benchmarks. Specifically, the fortunes benchmark is a task comparable to a backend REST API. If you look at the results for that, you'll see that Go-based solutions come in ahead of all but one of the Java solutions, and that one isn't standard using the standard Jakarta EE APIs.
Debunking Cloudflare’s recent performance tests
5 projects | news.ycombinator.com | 6 Dec 2021
> For such a small program ... the performance difference can be reduced significantly.
I think you're wrong. Small programs don't necessarily minimize the difference between languages. Small programs often exacerbate them. Often for weird, idiosyncratic reasons. Especially if you're measuring time-to-first-byte, and not letting the VM warm up.
Async I/O for Dummies (2018)
2 projects | news.ycombinator.com | 5 Dec 2021
Backend newb, here. I have a dumb question - can someone give me a summary, or blog post to a summary, of the pros /cons of async versus threads?
One thing I have been using as a way of understanding hi-perf backends is analyzing why the vert.x framework  (and its underlying server, netty) does so well on benchmarks , but as newb, I do not think I would get a lot form that exercise without a little hand holding.
 Ad of today, #28 on tech empower benchmarks - https://www.techempower.com/benchmarks/
How is node compared to other backend tech?
3 projects | reddit.com/r/node | 2 Dec 2021
I have to disagree, according to this benchmark https://www.techempower.com/benchmarks/ express and fastify are much faster than flask, django and other popular python-based solutions. Also python's scalability is based upon running n python instances which you can also do with nodejs.
Fleet, a Lightweight IDE from JetBrains
8 projects | news.ycombinator.com | 29 Nov 2021
I wish there was benchmarks for IDEs/editors, just like there are benchmarks for web frameworks (https://www.techempower.com/benchmarks/ https://web-frameworks-benchmark.netlify.app/).
For instance, given the same simple Java program/project:
1. Clock time from selecting "Run" in the IDE to first line written to stdout (to measure startup time)
Django 4.0 release candidate 1 released
11 projects | news.ycombinator.com | 22 Nov 2021
Interesting, those results are the opposite of the techempower frameworks, which find that the async frameworks are always faster: https://www.techempower.com/benchmarks/#section=data-r20&hw=.... Though in general I'm not sure about the value of bringing async to Django. If you want more performance, you can already either throw more machines at it, or isolate some part in a service that can be written with FastAPI/Go/something. Async in general makes the code more complex and harder to write, which seems to be the opposite of what Django is for.
.NET 6 vs. .NET 5: up to 40% speedup
It’s not the same, but there is this well-known framework benchmark , it always had the .net frameworks close to the top.
I’m guessing a lot of the speedups come from getting rid of legacy cruft. With .net core/.NET 5/6 they got rid of a lot of things compared to .NET Framework 4.8 and could play with optimizations that simply weren’t doable before. That’s just me guessing, though ;)
> .NET has been faster than Java on most of the benchmarkgame benchmarks for a while, since .net core 3 or so.
And which benchmarks games are those? If I go to to the Techempower benchmark and select only C# + Java. Java comes on top in every individual category of all the benchmarks.
That seems a bit misleading of a comparison IMO and only one case (JSON serialisation) when I look at their data. It's also showing a lot of frameworks that are not that mature and not well used in the Java camp vs ASP.NET that is widely used, full featured, has a lot of bells and whistles and a lot of plugins available for most technologies and standards. All of which could have negatively influenced performance, even the hooks to allow them to be injected in can do so even if not enabled. The fact that a full featured web framework makes it to the top over several rounds I can't discount as pretty good.
My personal experience having worked on both platforms for several years is that Java is easier to get to an acceptable performance, but the .NET runtime when you have to put the effort in has a higher bound of performance. It just has more tools in the CLR to work with than the JVM (e.g. value types, proper generics, spans, and more). With .NET Core and future versions I think .NET is also taking up Java's default perf area as well.
What would be representation of some real work scenarios? I think their test suite covers wide spectrum of operations enough so to be able to draw conclusions from them.
API project idea
1 project | reddit.com/r/learnpython | 8 Dec 2021
FastAPI is incredibly popular despite being relatively new. The name gives the premise, really.
Django 4.0 Released
14 projects | news.ycombinator.com | 7 Dec 2021
I do with PR, and by strongly recommending the sponsored classes (from testdriven.io in the ads on the doc : https://fastapi.tiangolo.com/) for my company, but you're right that I could push harder for official corporate sponsorship.14 projects | news.ycombinator.com | 7 Dec 2021
We went all in on FastAPI with my team, but we're hit the issue that the projects of Tiangolo (FastAPI, SQLModel, Typer) seem to be turning pretty much unmaintained : https://github.com/tiangolo/fastapi/discussions/3970
We've already been hit by multiple bugs with fixing PR opened, but left to rot, and missing documentation : the 'tutorial' documentation is great, but if you want a reference you have to go read the code.
I guess that's the issue when you pick projects maintained by one person, so for my next projects I might get back to something built on stronger grounds, like Django.
How is Django this day with modern Python constructs like typing in general and Pydantic models integration ?
Re-Doing the Django Tutorial With FastAPI And React: Connecting a React app to FastAPI !
5 projects | dev.to | 6 Dec 2021
Is the Pyramid framework dead?
9 projects | reddit.com/r/Python | 6 Dec 2021
Is FastAPI going anywhere or just being discontinued?
2 projects | reddit.com/r/FastAPI | 2 Dec 2021
FastAPI : le nouveau framework web pour vos API avec Python
5 projects | dev.to | 2 Dec 2021
Logging & Tracing in Python, FastApi with OpenCensus a Azure
2 projects | dev.to | 29 Nov 2021
FastApi - Modern python web framework for building APIs. It's based on Pydantic and type hints to validate, serialize, and deserialize data, and automatically auto-generate OpenAPI documents
Rise of the Pydantic Stack
2 projects | reddit.com/r/Python | 29 Nov 2021
FastAPI is meant as a "backend JSON server" – that's why "API" is in the name! Says right up front at https://fastapi.tiangolo.com that it's "for building APIs".
Poem-openapi 1.0 released!
4 projects | reddit.com/r/rust | 28 Nov 2021
Poem-openapi is an OpenAPI server-side framework based on Poem. If you have used FastAPI, they are very similar in use.
What are some alternatives?
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Flask - The Python micro framework for building web applications.
Django - The Web framework for perfectionists with deadlines.
vibora - Fast, asynchronous and elegant Python web framework.
starsessions - Pluggable sessions support for Starlette and FastAPI.
Pyramid - Pyramid - A Python web framework
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
CherryPy - CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev
Bottle - bottle.py is a fast and simple micro-framework for python web-applications.
flask-restx - Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
strawberry - A new GraphQL library for Python 🍓