Skip to content

Commit ccddd2b

Browse files
committed
re-order readme
1 parent 8632f2e commit ccddd2b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ A pure Go port of [Facebook's Yoga](https://github.com/facebook/yoga).
88

99
Read [tutorial](https://blog.kowalczyk.info/article/9/tutorial-on-using-github.comkjkflex-go-package.html) or look at `_test.go` files.
1010

11+
## Status
12+
13+
The port is finished. The code works and passess all Yoga tests.
14+
15+
The API is awkward by Go standards but it's the best I could do given that I want to stay close to C version.
16+
17+
Logic is currently synced up to https://github.com/facebook/yoga/commit/f45059e1e696727c1282742b89d2c8bf06345254
18+
1119
## How the port was made
1220

13-
You can read a [detailed story](https://blog.kowalczyk.info/article/wN9R/experience-porting-4.5k-loc-of-c-to-go-facebooks-css-flexbox-implementation-yoga.html)
21+
You can read a [detailed story](https://blog.kowalczyk.info/article/wN9R/experience-porting-4.5k-loc-of-c-to-go-facebooks-css-flexbox-implementation-yoga.html).
1422

1523
In short:
1624

1725
* manually ported [C code](https://github.com/facebook/yoga/tree/master/yoga) to Go, line-by-line
1826
* manually ported [tests](https://github.com/facebook/yoga/tree/master/tests) to Go
1927
* tweak the API from C style to be more Go like. The structure and logic still is very close to C code (this makes porting future C changes easy)
20-
21-
## Status
22-
23-
The port is finished. The code works and passess all Yoga tests.
24-
25-
The API is awkward by Go standards but it's the best I could do given that I want to stay close to C version.
26-
27-
Logic is currently synced up to https://github.com/facebook/yoga/commit/f45059e1e696727c1282742b89d2c8bf06345254

0 commit comments

Comments
 (0)