Quantcast
Channel: Programming Rants
Browsing all 204 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Tricks to be Motivated

Recently I being so much unmotivated with my work, and I think I know the reason, but anyway, these are the generic things to get things done:Buy a pen, and small notebook, seriously! Make a TODO list,...

View Article


Elixir/Erlang better than Go, really?

The microbenchmark result for spawning short-lived concurrent process:# Go 1.8.0$ go build test.go ; for k in 5 50 500 5000 50000 500000; do echo -n $k; time ./test $k > /dev/null; done5CPU: 0.00s...

View Article


Image may be NSFW.
Clik here to view.

TechEmpower Framework Benchmark Round 15

As usual, the only one matters are data updates and multiple queries.Top ranker languages are C, C++, Java, C#, Dart, Python, Go, Perl, Scala, Javascript.Top ranker language for multiple queries: Dart,...

View Article

Cross Platform Mobile App Development

There's some new alternative for near native performance out there today:Flutter Beta1 (Dart), pros: developed by Google, hot reloadcons: the Dart programming language have a bit awkward syntax,...

View Article

Image may be NSFW.
Clik here to view.

Rendering Sprite using ECS and JobSystem in Unity

Old style Unity programming, known for slow performance when number of GameObjects grows, that can be solved by managing the update call ourself. Object pooling known to be used to minimize GC overhead...

View Article


Image may be NSFW.
Clik here to view.

Hybrid ECS in Unity

Previously we tried the Pure ECS to create a Pong animation, this article will show example snippet of how to use Hybrid ECS. With hybrid ECS we can use normal game object to act as the entity. What...

View Article

Image may be NSFW.
Clik here to view.

Costajob HTTP Benchmark

Learning about Pony, a new (at least for me) programming language that designed to be elixir-python-golang like (imho), got me to this page:It's interesting to see the memory usage of those...

View Article

Image may be NSFW.
Clik here to view.

Introduction to gitflow

GitFlow is one way to manage git repository, where master branch forked into develop branch, and each person will create their own branch when they develop a feature, merged back to develop branch. See...

View Article


String Associative Array Benchmark 2

Redoing old string associative benchmark (3 years ago) but now on Macbook Pro MJLQ2, here's the result:alias time='/usr/local/bin/gtime -f "\nCPU: %Us\tReal: %es\tRAM: %MKB"'$ java -versionjava version...

View Article


Image may be NSFW.
Clik here to view.

Techempower Framework Benchmark Round 17

The new result is up, as usual the most important thing is database update benchmarkTop rankers for this time is Rust, Java, C, C#, Go, and C++, the rest has some error or ranked lower than that....

View Article

Hex to C# Colors Converter

This is C# version for https://openglcolor.mpeters.me that I've been using a lot lately. Paste your colors one per line using RRGGBB or RGB format, with or without hash/pound sign (#). #112233 aabbcc...

View Article

CockroachDB 2.1.3 Benchmark

Redoing the old benchmark on my office's Mac, I have installed cockroachdb on Mac usingbrew install cockroachStart the servercockroach start --insecure --listen-addr=localhost   Create the...

View Article

Free Digital Painting Software

What are our options? RasterPaint.NET, supports: WindowsMedibang Paint Pro, supports: Windows, Mac, Android, iOSKrita, supports: Windows, Mac, Linux, SteamAdobe Photoshop CS2, supports: Windows,...

View Article


New Promising Programming Language: V

Found out that there's a new programming language called V. At glance it's like combination of Go and Rust. Seems really promising, has really fast compilation speed.No global stateNo nullNo undefined...

View Article

Image may be NSFW.
Clik here to view.

How to make 2D Game that fit multiple resolution in Unity

There's a lot of screen resolution out there, how to make our UI objects (canvas) fit all resolution? One of the easiest solution is to envelope the canvas with borders, here's how you do it:Create a...

View Article


Image may be NSFW.
Clik here to view.

Huge List of Database Benchmark

Today we will benchmark a single node version of distributed database (and some non-distributed database for comparison), the client all written with Go (with any available driver). The judgement will...

View Article

Serialization Benchmark

It's interesting to see the result of jeromefoe's metser and smallnest's gosercomp serialization benchmark, the combined best results are:ColferGoGo's Protobuf (instead of Google's)Gencode There's also...

View Article


Expose LXC/LXD Container Ports to Public

LXC/LXD is lightweight OS-level virtualization on Linux, much like OpenVZ. It was used by early version of Docker. The benefit of using LXC/LXD is when you need a virtualization but also need fast...

View Article

Image may be NSFW.
Clik here to view.

Techempower Framework Benchmark Round 18

Framework Benchmark 18 is out (half year after previous result), the shocking result that Vert.x version of Javascript just killing almost everyone except Rust. Top performing programming languages for...

View Article

The Benchmarker's Web Framework Benchmark

Latest update (2019-07-19) from the-benchmarker's web-framework:Language (Runtime)Framework (Middleware)Requests / sThroughputc (11)agoo-c (0.5)199670.00115.49 MBpython (3.7)japronto...

View Article
Browsing all 204 articles
Browse latest View live


Latest Images