Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeLyon authored Mar 3, 2024
1 parent e334978 commit 9ce3413
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ import Script
`Shwift` is more explicit about exactly what is being executed. You have a `Shwift.Context` which you can use to manage the lifetime of resources used by `Shwift` (for example, closing the `Shwift.Context` once it is no longer necessary). It also provides `Builtin`, which is a namespace for core functionality that is used to implement higher level Swift functions for interacting with command line tools in `Script`, like `map` and `reduce`.

`Shwift` is build on top of `swift-nio` and as a result aims to be completely non-blocking, and thus suitable for use Swift programs which make extensive use of Swift's concurrency features, such as servers.

`Shwift` also provides its own `Process` type. This type has a different API from `Foundation.Process` and embraces Swift's concurrency features, which the `Foundation.Process` API predates. It also works around a [nasty Foundation bug on Linux](https://github.com/apple/swift-corelibs-foundation/issues/3946) which can result in leaked file descriptors or deadlocks in concurrently-executing code.

0 comments on commit 9ce3413

Please sign in to comment.