- Z++ for Windows and Linux - 5 Updates
- Make sure shared library doesn't execute any code at 'dlopen' - 1 Update
- SGCL - Garbage Collector for C++ - 4 Updates
Zorro <zorabih@gmail.com>: Jan 31 11:00AM -0800 On Tuesday, January 24, 2023 at 5:14:39 PM UTC-6, Chris M. Thomasson wrote: > ________________ > void main > God damn it! Answer: This program does not compile. You get error: Error 50001 (Linker): No entry points found. So, what are you trying to run? A function in Z++ must end with: "end;". In fact all constructs have their ending tag. For instance if ... elsif ...else...endif; Second, you can execute both, Debug and Release builds within z++visual. For you program, I checked they run great. If you want to execute a Z++ program outside of z++visual, it must be in Release build. Otherwise you will get a message telling you that your program contains debug info, and terminates. To run a Z++ program from a console, you have two options. Either go the Release directory of your project (via cd), then type zvp Sample.zxe Z++ executable will have extension ".zxe" , find it in Release folder and do as above. Or, do: zvp full-path/Sample.zxe I really do not understand the call: "void main". Sorry for your trouble. However, the product works as documented. Regards. |
Zorro <zorabih@gmail.com>: Jan 31 11:07AM -0800 On Tuesday, January 24, 2023 at 6:42:07 PM UTC-6, Öö Tiib wrote: > Can't even return if a program completed successfully or failed? > Instead some kind of agents start to roam around autonomously > and moan "Braiins!" Maybe that is what the "z" comes from. Answer. Your insult is without any basis. I have answered those who indicated they had trouble. What do you mean: Can't even return if a program completed successfully or failed? What did you do? Insults and other tactics will not stop people who no better to give themselves a chance. |
scott@slp53.sl.home (Scott Lurndal): Jan 31 07:27PM >What did you do? >Insults and other tactics will not stop people who no better to give themse= >lves a chance. I'm reluctant to interfere with the rant fest, but I believe Tiib was commenting on the apparent inability of Z++ to return a completion status to the program (e.g. shell) which executed the Z++ application; which can then be subsequently used to determine the success of the application (or a myriad of other uses) in a shell script or parent process. In C, that would be the final return statement in the function 'main' which is specified to return a signed integer value. |
Keith Thompson <Keith.S.Thompson+u@gmail.com>: Jan 31 02:22PM -0800 > ________________ > void main > God damn it! I don't see any good reason why that should annoy anyone. C++ requires main to return int (and C almost requires the same thing; the details are off-topic here). There's no reason that a *different language* should have the same rule (unless it's intended to be a strict superset of C++, but I don't think it is). It's likely (I haven't checked) that Z++ has some other mechanism for returning a status to the calling environment; perhaps it can call std::exit(). -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for XCOM Labs void Void(void) { Void(); } /* The recursive call of the void */ |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 31 02:29PM -0800 On 1/31/2023 2:22 PM, Keith Thompson wrote: > of C++, but I don't think it is). It's likely (I haven't checked) that > Z++ has some other mechanism for returning a status to the calling > environment; perhaps it can call std::exit(). True. I just pointed out that a C programmer is going to possibly get annoyed at the sheer sight of void main. |
Frederick Virchanza Gotham <cauldwell.thomas@gmail.com>: Jan 31 02:29PM -0800 On Monday, January 30, 2023 at 10:58:59 AM UTC, Kenny McCormack wrote: > I'm sure the Jonestown folks would state in all sincerity that they were > not "indoctrinated". No one ever thinks it could happen to them. Some things just feel wrong to us because of where we grew up and the people we had around us. I consider keeping a dog as a pet, and I'm happy to have people farm cows for us to eat beef. I wouldn't want dogs farmed for food though -- it just feels wrong to me, however in other parts of the world they eat dogs. Some people won't eat dog, and some people won't edit a binary. You probably won't change that streak in them. It just feels wrong to some people. |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 30 09:17PM -0800 On 1/23/2023 7:59 PM, Chris M. Thomasson wrote: >>> https://groups.google.com/g/comp.lang.c++/c/FBqOMvqWpR4/m/gfFd4J2GBAAJ >> I don't know this thread. I will read. > Thank you. Any input is welcome, indeed. Imagine using a node outside of the collector, ABA and all of the nodes lifetime issues. Who is going to drive it home tonight? ;^) https://youtu.be/xuZA6qiJVfU |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 30 09:20PM -0800 On 1/30/2023 9:17 PM, Chris M. Thomasson wrote: > Imagine using a node outside of the collector, ABA and all of the nodes > lifetime issues. Who is going to drive it home tonight? ;^) > https://youtu.be/xuZA6qiJVfU Actually reusing a node is a good thing! It can take a lot of pressure off of a GC. When a user can stuff in the counter and has access to DWCAS, well.... NICE! |
Bonita Montero <Bonita.Montero@gmail.com>: Jan 31 06:57AM +0100 Am 20.01.2023 um 10:52 schrieb Chris M. Thomasson: > How does it compare to RCU wrt read mostly, write rarely workloads? RCU in userspace is pseudo-RCU. |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 30 11:16PM -0800 On 1/30/2023 9:57 PM, Bonita Montero wrote: > Am 20.01.2023 um 10:52 schrieb Chris M. Thomasson: >> How does it compare to RCU wrt read mostly, write rarely workloads? > RCU in userspace is pseudo-RCU. poor mans rcu, in a sense... Fair enough? |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |