Skip to content

Readme scaladays - #177

Merged
benikm91 merged 5 commits into
dimwit-dev:mainfrom
benikm91:readme-scaladays
Oct 23, 2026
Merged

benikm91 merged 5 commits into
dimwit-dev:mainfrom
benikm91:readme-scaladays

Conversation

@benikm91

Copy link
Copy Markdown
Collaborator

I updated the README entirely, not just the example.

Mostly inspired by our ScalaDays talk, our Paper and discussion about them.

marcelluethi and others added 2 commits September 29, 2026 07:50
Motivate DimWit in four points (strong types and fast execution, no
overhead under jit, names as shared vocabulary, explicit not implicit),
link the ScalaDays 2026 talk, show the talk's example next to JAX, and
list DeepWit and WitDraw as libraries built on DimWit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread mdocs/README.md
</p>


## Vision

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep the vision label. I think it is important to know where we want to go and where not.

Comment thread mdocs/README.md Outdated
## Why DimWit?

## Why?
- **Strong types and fast execution.** JAX executes fast, but its tensors are untyped. DimWit wraps JAX in Scala and names the dimensions of tensors in their types, e.g. `Tensor2[Batch, Feature, Float32]`, so the code says what each axis means and the compiler checks it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is How, not why. I would keep the why for the reason mentioned above. It is a legitimate question to ask, why yet another library.

Comment thread mdocs/README.md

AI coding agents and modern numerical libraries, such as Jax, Pytorch or Tensorflow, make it ever easier to write numerical and machine learning programs. Yet understanding remains as difficult as ever. Untyped code,
opaque tensor operations and a focus on performance instead of clarity often obscure the concepts underlying the code.
## Example

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice. I like the side by side view

Comment thread mdocs/README.md Outdated
## Scope

Like JAX, DimWit is a library for fast numerical programming: tensors, automatic differentiation, `vmap`, `jit` and random numbers.
Everything else is built on top of it:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add WitDraw and DeepWit somewhere at the end under the header related projects or see also. I would not feature them prominently here.

Comment thread mdocs/README.md

## Contributing

If your interests align with our vision, we would love to have you on board! Feel free to open issues or pull requests on GitHub.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would only like to have people on board, whose vision aligns. But I would, of course, welcome PRs and Issues from everybody. Either we should write it more neutrally (drop the have you on board) or keep the part about the vision.

Comment thread README.md Outdated
## Contributing

If your interests align with our vision, we would love to have you on board! Feel free to open issues or pull requests on GitHub. No newline at end of file
We would love to have you on board! Feel free to open issues or pull requests on GitHub. No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now mentioned twice.

@marcelluethi marcelluethi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for incorporating the feedback. Good to go!

@benikm91
benikm91 merged commit d3ead7f into dimwit-dev:main Oct 23, 2026
1 check passed
benikm91 added a commit that referenced this pull request Oct 28, 2026
* improve example in README

* Restructure README around the ScalaDays talk

Motivate DimWit in four points (strong types and fast execution, no
overhead under jit, names as shared vocabulary, explicit not implicit),
link the ScalaDays 2026 talk, show the talk's example next to JAX, and
list DeepWit and WitDraw as libraries built on DimWit.


* Add feedback Marcel

* Update the Why. Layout.

* Furhter clean up the Why

---------

Co-authored-by: Marcel Luethi <marcel.luethi@inf.ethz.ch>
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