Skip to content

Commit ac1837b

Browse files
committed
add one more item for the benefits
1 parent 8a91dbc commit ac1837b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_blogposts/2020-12-07-release-8-4.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ description: |
1212
ReScript is a soundly typed language with an optimizing compiler focused on the JS platform.
1313
It's focused on type safety, performance and JS interop. It used to be called BuckleScript.
1414

15-
[[email protected]](https://www.npmjs.com/package/bs-platform/v/8.4.1) is now available for testing, you can try it via
15+
[[email protected]](https://www.npmjs.com/package/bs-platform/v/8.4.2) is now available for testing, you can try it via
1616

1717
```
18-
18+
1919
```
2020

2121
The changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#841).
@@ -44,11 +44,12 @@ To make things worse, each package comes with an installation process which is a
4444
package look like freshly built.
4545

4646
In this release, we track the installation in the build graph as well, and we calculate the hash of the installation of dependencies and put it in the
47-
dependent's command line flags for building binary artifacts. Such strategy benefits in three aspects:
47+
dependent's command line flags for building binary artifacts. Such strategy benefits in such aspects:
48+
4849
- The calculation of the hash of installation is almost free since it is just one stat, we don't need track all dependencies' artifacts.
4950
- The introducion of such hashing does not appear in parsing, so that the changes of dependencies will never trigger re-parsing.
5051
- Once the package installation is a nop, the transitive rebuild graph will be cut off so that we can save some unneeded rebuild.
51-
52+
- When people make changes to the depdendencies, if such changes don't change the package interface, it will not trigger the build of its dependents.
5253

5354
### Introducing `pinned-dependencies`
5455

0 commit comments

Comments
 (0)