enarx / codex

Code examples that can be compiled to WebAssembly for use with Enarx
Apache License 2.0
22 stars 14 forks source link

feat(latest-rust-std): add example #53

Open rvolosatovs opened 2 years ago

rvolosatovs commented 2 years ago

Add an example doing outgoing TLS connection, it does a request to GitHub and prints the latest Enarx release name to STDOUT

This PR includes a commit from #51 , because that PR should have been reviewed and merged by now

rjzak commented 2 years ago

So what does std-latest do? It's not a very descriptive name.

rvolosatovs commented 2 years ago

So what does std-latest do? It's not a very descriptive name.

It gives you the latest Enarx release version. Another common term for this is "tip", e.g. https://tip.golang.org/

Would "tip" be more descriptive?

rjzak commented 2 years ago

Would "tip" be more descriptive?

Probably. Otherwise, it looks like you're adding the standard library in the Codex.

bstrie commented 2 years ago

From a user perspective, the name of the example should describe what the user would hope to learn from the example. If the goal is to demonstrate a TLS connection, then the name should reflect that.