Commit Graph

18 Commits

Author SHA1 Message Date
Timothy Warren
5d27ffc192 Create ideomatic rust version 2020-01-13 16:20:12 -05:00
Timothy Warren
fd41a5dbb0 Finish Part 5 2020-01-13 13:05:00 -05:00
Timothy Warren
a61113711f Minimize unsafe in advance, make main safe 2020-01-13 13:02:30 -05:00
Timothy Warren
fd9ac09655 Make advance function safer 2020-01-13 12:37:51 -05:00
Timothy Warren
63d1d1c36b Start Step 5 2020-01-13 11:53:52 -05:00
Timothy Warren
0ddfc1fcf7 Use a union instead of the dual types, simplify type casting 2020-01-13 11:51:46 -05:00
Timothy Warren
6eb61e7e32 Start step 4 2020-01-13 11:32:09 -05:00
Timothy Warren
7c511f9b48 Make output_Energy a safe function 2020-01-13 11:29:54 -05:00
Timothy Warren
7b655129e8 Revert "Make output_Energy safe"
This reverts commit 8c08349b04.
2020-01-13 11:29:05 -05:00
Timothy Warren
b4113effa7 Reformat 2020-01-13 11:25:46 -05:00
Timothy Warren
8c08349b04 Make output_Energy safe 2020-01-13 11:25:15 -05:00
Timothy Warren
b4759fb1b1 Start Part 3 2020-01-13 10:28:58 -05:00
Timothy Warren
fa6f6a7829 Replace raw pointer parameters with &mut references 2020-01-13 10:26:49 -05:00
Timothy Warren
68e0f20e54 Start Part 2 2020-01-10 16:41:39 -05:00
Timothy Warren
c5d97c5df9 Finish part1 2020-01-10 16:24:41 -05:00
Timothy Warren
f7198add5e Add the last function, mostly working 2020-01-10 16:19:22 -05:00
Timothy Warren
3694480303 Add first two functions 2020-01-10 10:39:55 -05:00
Timothy Warren
68191a488b First commit 2020-01-10 09:26:29 -05:00