> Do you use other things for benchmarking ?
Try [cpuTime()](https://nim-lang.org/docs/times.html#cpuTime) or
[monotimes](https://nim-lang.org/docs/monotimes.html).
> This looks (at least to a beginner, like self) as if bare except clauses
> should be deprecated and replaced by except Defect: or except
> CatchableError:, depending on what's really intended.
Sounds like a solid plan. :-)
What's the question ?
I thought @treeform was working on #fidget2 ?
and if the except clause will only be a "naked" except when compiled with a
compiler directive which changes the default except behaviour to miss Defects,
combined with a new exceptDefect clause
in that way the stdlib will only miss defects when explicitly compiled with the
compiler directive.
I tried to benchmark binary splitting algorithm to compute factorial with
nim-lang/bigints.
There are some more complex (and faster) algorithms but they require polynomial
fast multiplication and multipoint evaluation, which is a lot to implement (and
I do not know algebra libraries in Nim that
Actually, there is no `--gc:rc` switch, that would be `--gc:arc` and
`--gc:destructors` is some ill-specified, obsolete prototype of `--gc:arc`.
This looks (at least to a beginner, like self) as if bare except clauses should
be deprecated and replaced by `except Defect:` or `except CatchableError:`,
depending on what's really intended. And then it would be helpful to have an
abbreviation for the latter, like `except *:`. (If at some time
Actually I did but result was: `Dynamic loading not supported`
`writev(2, [{iov_base="", iov_len=0}, {iov_base="Dynamic loading not
supported", iov_len=29}], 2Dynamic loading not supported) = 29`
As I can see, with default gcc I am able to build statically, but nevertheless
default gcc still de
> A more elaborate discussion on garbage collection, and the available GC
> flavours in Nim.
Nim default memory management scheme is deferred reference counting. Only `ref`
types and `seq` and `string` are managed by refcounting. Plain `object` are
stack allocated, `ptr object` are manually man
You can start your application with strace this can show you where it searches
for the .so
Hello Nim community. Thank you for any effort looking into this.
I am facing problem with static compilation of nim program using db_mysql
module and musl-gcc.
Downloaded `mysql-8.0.28-linux-glibc2.17-x86_64-minimal` (this is already
compiled) and `openssl-1.1.1m` (compiled myself) to current w
12 matches
Mail list logo