Having different exp operators for ints and floats definitely feels confusing.
I think this ( below ) works but IMO this library should provide a way works on
arrays, not strings. This is inefficient.
import nimSHA2, os, strutils
proc main(): string =
const blockSize = 8192
var bytesRead: int = 0
var buffer: string
Hi Stefan,
thanks for the hint. I will digg deeper to find the problem.
Hello,
As my Nim codes are growing in size and in complexity, my echos are no longer
being productive to help me out. So, I need a recommendation about the best way
to debug my stuffs.
Is there any Nim debugger around (for Windows) ? I'm just looking for a way to
inspect variables giving a
@Araq: Since v0.15, whenever I run "nim.exe" (or a program compiled with the
new compiler) my console's copde page is changed from 1252 (Windows Latin-1) to
65001 (UTF-8), which is - let's say - a litte counter-productive in my
environment. So, please have the compiler (and compiled programs)
I've made PR:
[https://github.com/nim-lang/Nim/pull/4814](https://github.com/nim-lang/Nim/pull/4814)
Hi,
I'm trying to make sha256 hashes on files. For testing purposes I generate a
file with
dd if=/dev/zero of=file.bin bs=1K count=20
This is the code
import system, nimSHA2, os, strutils
proc main(): string =
const blockSize = 8192
var
There was an earlier thread about performance of regex
[https://forum.nim-lang.org/t/2312](https://forum.nim-lang.org/t/2312)
> I inserted those options into re module and... voila, 0.2 s
I'd be interested to know how or what you did there.