Nim interact with Windows .NET Frameworks

2021-12-15 Thread Araq
> and without the sloppyness and error-proneness of importcpp That doesn't match my experience. IME `importcpp` can be better as you then get C++'s type checking on top of Nim's so discrepancies are detected much more reliably.

Stop clang from generating ilk and pdb files

2021-12-15 Thread Demos
this seems like a bug in either clang or nim. Ideally if you don't pass "debugger:native" to nim then nim would instruct clang not to emit debug info. It may be that clang's debug info generation rules are "odd" when using clang.exe (not clang-cl, i.e. clang with the gnu command line) in msvc-ab

Nim interact with Windows .NET Frameworks

2021-12-15 Thread Demos
btw the MIDL compiler that emits those C++ headers also emits a (badly documented) macro to switch to a pure C version, that could be bound to with importc (and without the sloppyness and error-proneness of importcpp)

Maze solver benchmark - How would you optimize?

2021-12-15 Thread shirleyquirk
With this BoolSeq, i can get a speedup, at the cost of slower assignment type BoolSeq = object data: seq[set[uint8]] func newBoolSeq(length:int):BoolSeq = result.data = newSeq[set[uint8]](length div 256 + 1) func `[]`*(b:BoolSeq,idx:int):bo

Happy Christmas

2021-12-15 Thread xigoi
`import std/times ensureHappiness(dateTime(2021, mDec, 24) .. dateTime(2021, mDec, 25)) ` Run

Happy Christmas

2021-12-15 Thread reversem3
Ha Ha thats great , Merry Christmas, Happy Holidays, Happy Kwanza, Happy all cultures

Nim at FOSDEM 2022 - CfP is open!

2021-12-15 Thread pietroppeter
well the easy proposal would be to present the [roadmap](https://forum.nim-lang.org/t/8642#56198)! Already public but I guess we would all benefit^ from a video delivered version (and you never know what might change during Christmas vacation...). Targets for talk length are 15 or 30 minutes so

Release candidates for Nim 1.6.2 and 1.2.16

2021-12-15 Thread miran
> Is there a changelog for this version or just commit history ? For now, you can look at the commits between the 1.6.0 release and the latest commit: [here](https://github.com/nim-lang/Nim/compare/v1.6.0...version-1-6). There will be a release article with the changelog once the final (non-RC)

Nim at FOSDEM 2022 - CfP is open!

2021-12-15 Thread Araq
I'm not sure if I'll be able to participate this time, but if you have ideas of what I should talk about you can make topic proposals here... :-)

HttpBeast 0.4.0 is here

2021-12-15 Thread ducdetronquito
Well played 🔥 Gotta give it a try someday !

Nim at FOSDEM 2022 - CfP is open!

2021-12-15 Thread pietroppeter
bump! reminder that we are waiting for your^ submissions! The official deadline for talk proposal submission is **Dec 23rd, 2021** ^and mine too.. 🙄

Nim at FOSDEM 2022 - CfP is open!

2021-12-15 Thread Yardanico
The deadline for talk proposals is in a week, so don't forget to submit your talk proposal if you have one :) P.S.: You don't have to record right now, recordings should be submitted until January 22nd