Xah Programing Blog Archive 2018-09

ImageMagick Tutorial (minor update)

programing language speed comparison

interesting. look at golang, the optimized version at bottom, beats all. and look at how slow are python ruby php.

Recursive fibonacci benchmark using top languages on GitHub

https://github.com/drujensen/fib

Firefox error dino 2018-09-28 d97ae
Firefox error dino 2018-09-28

i can't tell wtf is that.

Interview with Bill Joy (creator of vi)

this is what online forum looks like, before Facebook

https://forums.somethingawful.com/showthread.php?threadid=3846735

biological computer, dna, molecules

i took a microbiology class in 1996 or so, of things like the vid is talking about. understand cells, what's inside, what they do, how they work.

DNA animations by wehi.tv for science-art exhibition

The molecules, when a bunch of them are together, they bind in a specific way, some like that. gazillions megalions at the same time. This is what is meant by biological computer. mega parallel.

Biological computing

in 1990s, i recall Knuth said computing/algorithm is not interesting cuz it's already filled. and biology is far more interesting. That remark lodged in my mind. I now doubt it, but still, biology is fascinating. I think, to me, beats physics actually.

Project Code Rush - The Beginnings of Netscape / Mozilla Documentary

memories. this is where i live. Netscape headquarter was just 15 min walk away.

xahlee info git stat 2018-09-16

XahLee.info site traffic, 2017 to 2021

Golang: System Call

Fundamental Problems of Lisp

OCAML Official Tutorial Suck

finally fixed.

Atom/RSS Reader Bug, Relative Link

Apache Rewrites History: Why is it Named Apache?

History of Angular.js

is there a JavaScript util similar to golang's gofmt? note, i want it to be able to cut long lines of code. e.g. if entire code is in 1 line, make it multiple lines with indentation.

const declaration, for programer or for compiler?

in JavaScript and golang, there's “const” declaration. Am starting to think, it's more used as programer guide than for compiler, because compiler most of the time would automatically optimize var that doesn't change. Is this true?

don't use Google Chrome browser

these days i don't use Chrome except ONLY for google account. The google browser, can trivial do things even if u turn off all cookies and javascript and don't login to any site. Nobody would know except google.

context, google chrome posting about it's 10 year anniversary. https://twitter.com/googlechrome/status/1037038838550601734

[There is no pass-by-reference in Go By Dave Cheney. At https://dave.cheney.net/2017/04/29/there-is-no-pass-by-reference-in-go ]

This is a great article. Apparently, that guy blog a lot about golang, seems to be a go expert.

golang, should i return big string or save it to a var pointer?

am wondering if i should do outBytes=genSiteMap(inDir) or genSiteMap(inDir, &outBytes) the 2nd ceases to be function programing, but i guess is more traditional C C++ D go stuff. Give me your opinion.

design of how to deal with errors in programing languages

[The Error Model By Joe Duffy. At http://joeduffyblog.com/2016/02/07/the-error-model/ ]

seems a great article.

Franz Lisp, number 1 commercial implementation of Common Lisp

Franz Lisp, still alive! It was, or still is, the number 1 commercial implementation of Common Lisp.

https://twitter.com/Franzinc/status/1036644252502122496

Unicode: Box Art ░ ▒ ▓ major update

programing languages ranked by ease of learning

cutting thru golang like a chainsaw thru snow! smooth. of langs, similar experience is php. And worst is python. for ease of learning to practical depth, the order is: golang ≻ php ≻ python ≻ JavaScript ≻ perl ≻ clojure ≻ java

golang is definitely more verbose than python or ruby. For language verbosity, the order is roughly this: C ≻ java ≻ golang ≻ JavaScript ≻ php ≻ python ≻ clojure ≻ perl ≻ Mathematica

python is a lang against functional programing, worse than perl.

everytime i say it, some python fanboy will counter, python support functional programing. Right, it does, like every lang do. But in practice, even the lambda is crippled. And if you use functional programing libs, other coder looks at you funny.