Live data from Hacker News

Ask HN: What's the best API you've worked with?

news.ycombinator.com

1–10 of 18 posts

Re: Ask HN: What's the best API you've worked with?

#3
The most awesome was SAL, a vector math library by Mercury Systems.

Every function came in multiple varieties, specialized for the expected and desired cache hotness of the data. Suppose you wanted to multiply a couple matrices. There are two inputs and an output. The inputs could be cached, uncached, or one of each. The output might be needed soon, and thus should remain in cache, or it might be better to save the cache for other things. All of this could be specified.

That library could help a programmer to produce mighty fast programs.

Re: Ask HN: What's the best API you've worked with?

#6

Win32 API

When I saw this I actually laughed. But then I thought about it more. I’m actually inclined to agree with you, for a native API it is quite extensive, well documented, and fairly easy to use. I prefer its verbosity to Unix-style 6-character-long syscalls, though I can see why it made sense at the time it was developed. But it could just Stockholm syndrome after 5 years of use.

Re: Ask HN: What's the best API you've worked with?

#7

Win32 API

When I saw this I actually laughed. But then I thought about it more. I’m actually inclined to agree with you, for a native API it is quite extensive, well documented, and fairly easy to use. I prefer its verbosity to Unix-style 6-character-long syscalls, though I can see why it made sense at the time it was developed. But it could just Stockholm syndrome after 5 years of use.

I'm not really familiar with it, but I do know it went through a lot of revisions in the beginning when just about everything that could be exploited was.

So I would imagine it would be a time (battle?) tested, mature api.

Post reply on HN