#api-design
2 articles tagged #api-design. All tags
A simple ping library, parsing strings into IPv4 address
We’ve just spent a lot of time abstracting over LoadLibrary, but we still have all the gory details of the Win32 ICMP API straight in our main.rs file! That won’t do. This time will be much quicker…
13 min
Designing and implementing a safer API on top of LoadLibrary
It’s refactor time! Our complete program is now about a hundred lines, counting blank lines (see the end of part 3 for a complete listing). While this is pretty good for a zero-dependency project…
18 min