Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Prep v0.4.0 website #166

Merged
merged 11 commits into from
Aug 3, 2024
Merged

Draft: Prep v0.4.0 website #166

merged 11 commits into from
Aug 3, 2024

Conversation

dgkf
Copy link
Owner

@dgkf dgkf commented Aug 2, 2024

Aiming to get a few new website features in place for this release:

  • Move the web repl to a /live url
  • Publish crate documentation (and ideally have live repls in examples)
  • Have a news page that highlights what is new in the latest release

Long term, if it grows any larger and would benefit from a site generator that brings a considerable dependency overhead, then I think the website should probably be split off into a separate repo.

For this release, I intend to still have a rather simple diy site.

@dgkf dgkf marked this pull request as draft August 2, 2024 18:31
@dgkf dgkf marked this pull request as ready for review August 3, 2024 04:59
@dgkf dgkf merged commit a7aebba into main Aug 3, 2024
12 checks passed
@dgkf dgkf deleted the dev/v0.4.0-website branch August 3, 2024 05:17
@dgkf
Copy link
Owner Author

dgkf commented Aug 3, 2024

@sebffischer - I put together a small release notes webpage. Feel free to take a look. Please let me know if there's anything you'd like to change before it gets publicized.
https://dgkf.github.io/R/release/v0.4.0/

Also, prompted by your anecdote about the discoverability of available functions, I added docs for all the primitives we have. And you can execute examples in the browser! Not necessarily ideal, but a easy enough middle ground until we have proper help files.
https://dgkf.github.io/R/docs/r/callable/primitive/struct.PrimitiveRunif.html

@sebffischer
Copy link
Collaborator

sebffischer commented Aug 3, 2024

@dgkf Awesome, this is just what we needed! I also love that the examples can be executed, wasm is just such a nice technology!

  • In R, modifying this interior data comes at a steep cost since each view is copied for modification and then a new copy
    of the original data is created prior to insertion of newly modified contents.

    I think the copy of the original data is only created if there is more than one "lazy-copy" of that list, which R tracks in a a single bit that indicates whether there is exactly one "lazy copy" of the data (when it mutates in place) or more than one (than it copies). (However, because there is a single bit to track this, R is unable to decrement the Ref counter when there were three such copies but one goes out of scope).

  • The "Play" bottom on the top-left still points to your personal website and the "Docs" button 404s.
    Both are because the links are relative to "https://dgkf.github.io/" instead of "https://dgkf.github.io/R/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants