2019-03-18

New Promising Programming Language: V

Found out that there's a new programming language called V (2019). At glance it's like combination of Go and Rust. Seems really promising, has really fast compilation speed.
  • No global state
  • No null
  • No undefined values
  • Option types
  • Generics
  • Immutability by default
  • Partially pure functions
  • Hot Code Reload
  • REPL
  • C/C++ converter
  • Native cross platform UI library
  • Run Everywhere
But no compiler yet (but there's already software built with it), wait until May 2019. I hope it hype :3
Here's a bit negative review about V.



Pony (2012) also share similar belief (like Rust and Erlang/Elixir combined):
  • Pony is type safe
  • Pony is memory safe
  • Exception-Safe
  • Data-race Free
  • Deadlock-Free
  • Native Code
  • Compatible with C
  • Garbage Collected
  • and many more
Zig (2017) hopefully will succeed C
  • Integration with C without binding, can compile C
  • Cross compile
  • Generics
  • Error handling and Stacktrace by default
  • Compile-time reflection and compile-time code execution
  • Simple build system
Crystal (2014), not giving similar spirit, but hey it's faster Ruby :3

And don't forget this interesting fib benchmark.

2019-02-01

Free Digital Painting Software

What are our options?
Raster
Vector
  • Inkscape, supports: Windows, Mac, Linux
  • Gravit, supports: Windows, Mac, Linux, Web
  • Synfig, supports: Windows, Mac, Linux
  • Karbon, supports: Windows, Mac, Linux, BSD
  • Vectr, supports: Web
Misc Tools
Bonus: Video Editing
Bonus: 3D Anime Character Creator
Bonus: Audio Editing

Since I don't like GIMP, i wont put it here. For animating check this very useful site

An image from Critical Reikan for more reference:

No photo description available.

2019-01-10

CockroachDB 2.1.3 Benchmark

Redoing the old benchmark on my office's Mac, I have installed cockroachdb on Mac using
brew install cockroach

Start the server
cockroach start --insecure --listen-addr=localhost  

Create the database
cockroach sql --insecure
CREATE DATABASE test3;
GRANT ALL ON DATABASE test3 TO test3;
 

And do the benchmark:

alias time='/usr/local/bin/gtime -f "\nCPU: %Us\tReal: %es\tRAM: %MKB"'


time go run cockroach.go lib.go

INSERT: 1.653080201s (0.17 ms/op)
UPDATE: 1.947936008s (0.19 ms/op)

SELECT: 1m44.425784366s (1.60 ms/op: 65096)


CPU: 43.20s Real: 108.71s RAM: 89072KB

The benchmark performed on i7-4770HQ, 16GB RAM, SSD harddisk, with OSX Mojave 10.14.2 under Go 1.11. Conclusion: the result is really impressive :3 Great job CockroachDB Team.