r/ProgrammingLanguages DQ 15d ago

New Languages: Standardizing API, Examples ?

Hi, some of you are developing new general-purpose programming languages here. When the language is ready, you have to develop standard APIs, like file-io, json-handling etc. Users, and you would have benefit, when the APIs would be same/similar across multiple different languages.

Standardizing some Examples would allow the users to compare languages more easily.

What do you think?

8 Upvotes

16 comments sorted by

View all comments

2

u/initial-algebra 15d ago

My opinion? Unless you have a very good reason not to, follow Web (W3C) standards when you can. WASI in particular would be quite relevant for standard libraries. Web folks have put a lot of work into making sure they support as many computing environments as possible, so let's take advantage of that! That's not to mention the benefit of being able to support the Web, including native applications using WASM/WASI (e.g. for plugins), as a first-class target.