logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

Status-update-April-2021.md (2130B)


  1. ---
  2. title: Status update, April 2021
  3. date: 2021-04-15
  4. outputs: [html, gemtext]
  5. ---
  6. Another month goes by! I'm afraid that I have very little to share this month.
  7. You can check out the [sourcehut "what's cooking" post][0] for sourcehut news,
  8. but outside of that I have focused almost entirely on the programming language
  9. project this month, for which the details are kept private.
  10. [0]: https://sourcehut.org/blog/2021-04-15-whats-cooking-april-2021/
  11. The post [calling for contributors][1] led to a lot of answers and we've brought
  12. several new people on board — thanks for answering the call! I'd like to
  13. narrow the range of problems we still need help with. If you're interested in
  14. (and experienced in) the following problems, we need your help:
  15. [1]: https://drewdevault.com/2021/03/19/A-new-systems-language.html
  16. - Cryptography
  17. - Date/time support
  18. - Networking (DNS is up next)
  19. [Shoot me an email](mailto:sir@cmpwn.com) if you want to help. We don't have the
  20. bandwidth to mentor inexperienced programmers right now, so please only reach
  21. out if you have an established background in systems programming.
  22. Here's a teaser of one of the stdlib APIs written by our new contributors,
  23. unix::passwd:
  24. ```hare
  25. // A Unix-like group file entry.
  26. export type grent = struct {
  27. // Name of the group
  28. name: str,
  29. // Optional encrypted password
  30. password: str,
  31. // Numerical group ID
  32. gid: uint,
  33. // List of usernames that are members of this group, comma separated
  34. userlist: str,
  35. };
  36. // Reads a Unix-like group entry from a stream. The caller must free the result
  37. // using [grent_finish].
  38. export fn nextgr(stream: *io::stream) (grent | io::EOF | io::error | invalid);
  39. // Frees resources associated with [grent].
  40. export fn grent_finish(ent: grent) void;
  41. // Looks up a group by name in a Unix-like group file. It expects a such file at
  42. // /etc/group. Aborts if that file doesn't exist or is not properly formatted.
  43. //
  44. // See [nextgr] for low-level parsing API.
  45. export fn getgroup(name: str) (grent | void);
  46. ```
  47. That's all for now. These updates might be light on details for a while as we
  48. work on this project. See you next time!