Reference: GitHub Issue #55516
In Julia, the unit of compilation is a package (or an extension). Having very large packages with many loosely related features causes several issues:
Currently, the "solution" is to split a large package into many smaller ones (see for example this structure in OrdinaryDiffEq.jl). Users can then explicitly add dependencies to the components of the package (e.g., a specific solver).
However, splitting up a package has some drawbacks:
The proposal here is to allow the creation of "subpackages" that are namespaced under the "main package," with their versions locked to that of the main package. To bump the version of the entire "ecosystem," you would only need to update the version of the main package.
The subpackages would:
using OrdinaryDiffEq::AdamsBashforthMoulton
(syntax subject to change).Project.toml
file?
Artifacts.toml
file?using MainPackage::SubPackage
require that MainPackage
is already loaded, or can SubPackage
function independently? If it is entirely independent of the main package, should it perhaps be a separate package entirely?SubPackage
always depend on MainPackage
?or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing