Thank you once more. Fixed.
> I have issued the majority of reports at this time
Yes, indeed I remembered your name a short period after sending my post -- so I
removed the question about GTK a few days ago already.
I wouldn't say that "corporations suck" \- they are a means to an end. They
need to make things work in a cost-effective and dependable way, without making
themselves dependent on genius. Average-IQ programmers are the base, the bread
and butter of the industry, and so they are the standard.
Ni
in the same page, backend integration link is broken
[https://nim-lang.org/docs/backends.html](https://nim-lang.org/docs/backends.html)
All other links seems to work
Thank you all for your answers. Is seems that my first replies are still
blocked .
@Stefan_Salewski
I didn't remember this paragraph, but indeed the compiler does what is written
in the manual. However, in "Numerical constants" is is said that "Literals
without a type suffix are of the type **
Stafan_Salewski, yes, thanks for reminding about that again.
The twinprimes code is old (almost a year, using 0.17.x), when I was just
getting seriously into converting C++ code into Nim. Using the original
construct for that loop worked, because I always compiled with `gc` on. Then I
started p
Thank you. I will wait until my messages appear in the thread.
Seems OK, now
New users are in moderation mode by default so that's probably what the issue
was.
Hi. I submitted my first post some time ago without any problem, but my replies
do not appear in the thread. To reply, I click on "reply", type my message,
click on "preview" (to check if anything is OK) then on "submit". The window
closes, but that's all. I have tried three times, first with th
@lscrd
Nim 0.18 is correct indeed -- see language manual:
Pre-defined integer types
These integer types are pre-defined:
int
the generic signed integer type; its size is platform dependent and has the
same size as a pointer. This type should be used in general.
> Nim isn't for the "enterprise", which makes programming language choices
> based on how easy it would be to hire replacement programmers. At least not
> yet.
That's very interesting. It makes sense because of less bootstrap time, but if
the company has people who are so thick headed that they
I just wish to say that I'm not sure of how nim behaves, but as of the C
standard, nothing is said about the size of types, and definitely, the fact
that int should be the natural machine's word size is an urban legend. What the
C standard says about type, is the following: sizeof(char) <= sizeo
jzakiya, you may wonder why your program eats that much memory.
I had just looked at you code, and tried this:
#for byt in seg[0..Kn-1]: # count the twin primes in the segment
# primecnt += uint(pbits[byt]) # count the '0' bit pairs as twin
primes
for jj i
Hello,
I tested your code on a similar configuration (Linux 64-bit i7-2675QM 2.20GHz).
With an input of 500 billions, the system had to make use of the swap and then
crashed.
Moreover for 50 billions, with `--gc:none`:
$ /usr/bin/time ./twinprimes_ssozp5a2a
Enter integer numb
Thanks for pointing that out. So we don't know what the extent of the 's' bug
was, but the Playground is now at 0.18.0 and it's gone.
@jzakiya what do you mean exactly with the word "process"? I do not see usage
of osproc module in your code...
Also, what is an input value for which you get that error?
> Turn of your OS's memory overcommitment.
I have no idea what this means. Giving an example would be helpful next time.
Unfortunately, 0.18.0 has some bigtime regressions. I compiled the same code in
0.17.2, and not only does it compile and run correctly for all input values,
the compiled bina
18 matches
Mail list logo