website icon indicating copy to clipboard operation
website copied to clipboard

Add documentation for Software Transactional Memory (STM) in Effect

Open sharno opened this issue 9 months ago • 9 comments

Type

  • [ ] Refactor
  • [ ] Feature
  • [ ] Bug Fix
  • [ ] Optimization
  • [x] Documentation Update

Description

Adding documentation for STM

Related

  • Related Issue #
  • Closes #

sharno avatar Apr 07 '25 05:04 sharno

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website-content ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 1:51am
website-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 1:51am
website-proxy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 1:51am

vercel[bot] avatar Apr 07 '25 05:04 vercel[bot]

@sharno is attempting to deploy a commit to the Effect Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 07 '25 05:04 vercel[bot]

👏🏻 Wow, well done!

Minor nitpicking: According to @ethanniser's workshop, code within the scope of STM should be "pure." Would it be a good idea to draw the user's attention to this constraint?

References:

  • https://github.com/ethanniser/effect-workshop/blob/main/src/part4-whatsnext/snippets/2-stm.ts

  • https://github.com/ethanniser/effect-workshop/blob/main/slides/slides.md#stm

suddenlyGiovanni avatar Apr 07 '25 10:04 suddenlyGiovanni

cc @mikearnaldi for a review here

IMax153 avatar Apr 07 '25 12:04 IMax153

Minor nitpicking: According to @ethanniser's workshop, code within the scope of STM should be "pure." Would it be a good idea to draw the user's attention to this constraint?

References:

  • https://github.com/ethanniser/effect-workshop/blob/main/src/part4-whatsnext/snippets/2-stm.ts

  • https://github.com/ethanniser/effect-workshop/blob/main/slides/slides.md#stm

Thank you! If the idea of adding the STM page is generally accepted I can add more details from this workshop

sharno avatar Apr 07 '25 16:04 sharno

Minor nitpicking: According to @ethanniser's workshop, code within the scope of STM should be "pure." Would it be a good idea to draw the user's attention to this constraint? References:

  • https://github.com/ethanniser/effect-workshop/blob/main/src/part4-whatsnext/snippets/2-stm.ts
  • https://github.com/ethanniser/effect-workshop/blob/main/slides/slides.md#stm

Thank you! If the idea of adding the STM page is generally accepted I can add more details from this workshop

yes I'd be totally in favour of adding an STM page to the docs

mikearnaldi avatar Apr 08 '25 10:04 mikearnaldi

@mikearnaldi @suddenlyGiovanni

Sweet! I added a section about immutability Also a section about other Transactional DSs

I think this is ready if you don't see other issues

sharno avatar Apr 09 '25 01:04 sharno

Any chance to review this to get it merged?

sharno avatar Jun 09 '25 03:06 sharno

Any chance to review this to get it merged?

I know the primary focus is on "SMOL", but do we have any updates on this one @mikearnaldi?

suddenlyGiovanni avatar Sep 22 '25 16:09 suddenlyGiovanni