HN user

pettou

427 karma
Posts30
Comments19
View on HN
www.unicode.org 7y ago

U+1FB67;Upper Right Block Diagonal Upper Middle Left to Lower Middle Right [pdf]

pettou
2pts1
www.lensrentals.com 7y ago

A Clear History of Glass

pettou
1pts0
www.explainxkcd.com 7y ago

Explain xkcd

pettou
1pts0
www.pcg-random.org 8y ago

Efficiently Generating a Number in a Range

pettou
74pts39
github.com 8y ago

Awesome typography

pettou
2pts0
jwst.nasa.gov 8y ago

James Webb Space Telescope Innovations

pettou
2pts0
www.imaging-resource.com 8y ago

Testing camera weather resistance

pettou
1pts0
en.wikipedia.org 8y ago

Sokal affair (1996)

pettou
1pts0
en.wikipedia.org 8y ago

Wheel theory

pettou
2pts1
pixls.us 8y ago

Faces of Open Source

pettou
1pts1
en.wikipedia.org 8y ago

The Magic Words Are Squeamish Ossifrage

pettou
2pts0
github.com 8y ago

CotEditor – Lightweight Plain-Text Editor for MacOS

pettou
2pts0
projects.raspberrypi.org 9y ago

Build an OctaPi [cluster of 8 Raspberry Pis]

pettou
3pts0
github.com 9y ago

Pattern-defeating quicksort

pettou
280pts72
mozilla.github.io 9y ago

SVG backend for PDF.js

pettou
2pts1
xxyxyz.org 9y ago

Flat: Generative infrastructure for Python

pettou
1pts0
morepypy.blogspot.com 9y ago

PyPy v5.8 released

pettou
162pts70
www.raspberrypi.org 9y ago

Wireless wonder: The new Pi Zero W antenna design

pettou
8pts0
github.com 9y ago

[Proposal] BigInt: Arbitrary precision integers in JavaScript

pettou
1pts0
blend2d.com 9y ago

Blend2D: Next generation 2D vector graphics engine

pettou
2pts0
raw.pixls.us 9y ago

Help supplement a database of RAW images

pettou
4pts1
www.blender.org 9y ago

Blender 2.78 released

pettou
290pts72
summerofcode.withgoogle.com 10y ago

Google Summer of Code 2016: Accepted Projects

pettou
4pts1
www.youtube.com 10y ago

Generation loss: comparison of FLIF, WebP and JPEG [video]

pettou
2pts1
jesserayadkins.github.io 10y ago

Lily – A programming language focusing on expressiveness and safety

pettou
4pts0
www.johngustafson.net 10y ago

A Radical Approach to Computation with Real Numbers [pdf]

pettou
5pts1
whereismypizero.com 10y ago

Where Is My [Raspberry] Pi Zero?

pettou
2pts0
code.blender.org 10y ago

New Cycles [Rendering] Benchmark

pettou
1pts0
richg42.blogspot.com 10y ago

Zlib in serious danger of becoming obsolete

pettou
26pts2
www.nada.kth.se 10y ago

The fastest sorting algorithm? (2000)

pettou
14pts10

When you say "details very much might have changed between then and now", are there any news on bringing in the float128 type? I mean, do you happen to know whether there is any reasonable chance of having it in Rust at all?

Please, does anyone know:

- Why the chose stack-based VM, rather than register-based one?

- I see the docs mention Float128 type, is this a real possibility? What it their opinion on having Float128?

- there doesn't seem to be any support for ADC instruction ("add with carry") which would be very useful for implementing multi-precision numeric types. Are the plans to support ADC and the like or not? How to implement, say BigInt, with WebAssembly?

- maybe I misunderstood but when adding two integers result in an overflow, does it trigger the "trap"? I mean, lot of time (e.g. modular arithmetic) one does what fast "wrap around" (i.e. modulo 2^INT_SIZE) in integer types. Is this behaviour (of C) going to stay in WebAssembly?

Or try sorting points (struct of two float64s) by the x-coordinate, and compare the timing with similar JavaScript code running in V8. You might be surprised...

I will quote from the linked article:

Other sorting techniques may be faster. For example, using radix sorting, you can sort n word-sized integers by scanning the data a few bits at a time. Each scan can be done in linear time, and the number of scans depends on the word length w. Hence, the time for radix sorting is proportional to nw. Here, it’s easy to make a mistake. On most computers, w is a small number (typically 32 or 64), and you might be tempted to state that radix sorting is a linear time sorting algorithm. Not so. The algorithm will only work if w ≥ log n. If not, you wouldn’t even be able to store the numbers. Since each memory address is a word consisting of w bits, the address space won’t accommodate n numbers if w < log n. Hence, in the unit-cost RAM model, radix sort also runs in time proportional to n log n.

What does the "zero will be produced once less often than every other output" for negative qualities of XorShift and XorShift* means? That they are not able to generate "0"?

Also, does anyone know if PCG is in use somewhere today?