Re: arrays, mmu, addressing choices
On Tuesday, 9 August 2016 at 15:29:43 UTC, LaTeigne wrote: On Monday, 8 August 2016 at 21:45:06 UTC, Charles Hixson wrote: by the way, you are Jonathan M Davis right ?
Re: arrays, mmu, addressing choices
On Monday, 8 August 2016 at 21:45:06 UTC, Charles Hixson wrote: I have a rather large array that I intend to build. but much of it will only occasionally be used. Will the unused sections automatically be paged out? If it matters my system is Debian Linux. This array will be indexed by a ulong. Is there any reasonable maximum size? I've considered segmented addressing anyway, in case that's needed to allow paging, and it will definitely be needed when I get around to concurrent processing, with different sections resident in different threads. But if appropriate I could do that from the start. The questions above are really for a normal array, but I'd also be interested in how using an associative array would affect them. I expect to eventually be using more memory than I have RAM in my system, so designing for paging is going to be important. (Before then I'll be adding more RAM and a larger disk drive, but if I complete the full design even a large disk is going to be small.) - maximum size relies on the memory fragmentation. With a system with 8Gb DRAM you might be able to allocate a 6Gb array just after boot, but after 1 week up time only 4Gb. - sectors won't be automatically swapped. After reading your Q I was thinking to mmap() (in D: MMapAllocator + makeArray) but what actually happens is that nothing is allocated until it's used (allocation on comitment). Once it's there: it's there. Also mmap doesn't allow to allocate more than what's physically available. - If you want a really big array you could design your own container with an array interface. The whole thing would reside on the HDD but a sector would be dynamically/lazily cached to DRAM on access, and a sector cache freed either explictly or according to several rules such as max usage, thread out of scope, these kind of stuff. - your Q also makes me think to this data structure: https://en.wikipedia.org/wiki/Unrolled_linked_list. But I know nothing about it (seen a Delphi implementation years ago, that's all). The idea would be to create a custom allocator for the nodes (each linked sector) with disk "swap-ability".
[OT] Re: Why D isn't the next "big thing" already
On Sunday, 31 July 2016 at 18:15:49 UTC, Gorge Jingale wrote: On Sunday, 31 July 2016 at 10:11:46 UTC, LaTeigne wrote: On Saturday, 30 July 2016 at 12:24:55 UTC, ketmar wrote: On Saturday, 30 July 2016 at 12:18:08 UTC, LaTeigne wrote: it you think that you know the things better than somebody who actually *lived* there in those times... well, keep thinking that. also, don't forget to teach physics to physicians, medicine to medics, and so on. i'm pretty sure that you will have a great success as a stupidiest comic they ever seen in their life. also, don't bother answering me, i won't see it anyway. https://forums.embarcadero.com/thread.jspa?messageID=831486 Again an evidence of your super ego. You think that your own experiences stand for everybody while it's actually representing anything byt you, which is quite near from the nil. He clearly suffers from NPD. I believe this is due to ignorance of experience. With such little real world experience one conjures up their own fabricated sense of reality that revolves around themselves. Such people lack the ability to understand others experiences and write them off because they do not coincide with their own. It's a form of the god complex, yet clearly these people are not god and generally not even that intelligent, experienced in life , etc, or happen just to be good at one thing which they treat as the only thing that matters; which is illogical and insane but very convenient for them. No his condition is not NPD. The other day he said publicly on IRC what it's but I don't remember the exact name. But it's serious, e.g you can find it in the DSM-5, with a specific code, designation etc. Let's close this discussion for real this time. I'm sorry for the trolling but at a time i wanted to be right for this stupid story of academic license...
Re: Why Does Dscanner Warn About a Missing toHash if opEquals is Defined?
On Sunday, 31 July 2016 at 15:21:01 UTC, Jack Stouffer wrote: Is it really a problem? What are the pitfalls of defining one but not the other? iirc usage in an AA requires both.
Re: Why D isn't the next "big thing" already
On Saturday, 30 July 2016 at 12:24:55 UTC, ketmar wrote: On Saturday, 30 July 2016 at 12:18:08 UTC, LaTeigne wrote: it you think that you know the things better than somebody who actually *lived* there in those times... well, keep thinking that. also, don't forget to teach physics to physicians, medicine to medics, and so on. i'm pretty sure that you will have a great success as a stupidiest comic they ever seen in their life. also, don't bother answering me, i won't see it anyway. https://forums.embarcadero.com/thread.jspa?messageID=831486 Again an evidence of your super ego. You think that your own experiences stand for everybody while it's actually representing anything byt you, which is quite near from the nil.
Re: [OT] Re: Why D isn't the next "big thing" already
On Saturday, 30 July 2016 at 23:11:23 UTC, Seb wrote: On Saturday, 30 July 2016 at 22:52:23 UTC, bachmeier wrote: On Saturday, 30 July 2016 at 12:30:55 UTC, LaTeigne wrote: On Saturday, 30 July 2016 at 12:24:55 UTC, ketmar wrote: On Saturday, 30 July 2016 at 12:18:08 UTC, LaTeigne wrote: it you think that you know the things better than somebody who actually *lived* there in those times... well, keep thinking that. also, don't forget to teach physics to physicians, medicine to medics, and so on. i'm pretty sure that you will have a great success as a stupidiest comic they ever seen in their life. also, don't bother answering me, i won't see it anyway. Fucking schyzo ;) Have you took your little pills today ? Well this is beautiful marketing for the language. At some point, the leadership will need to put away ideology and get realistic about what belongs on this site. I would love to see the forum evolve into something similar to reddit, where everyone can judge the value of a comment/thread and off-topic threads (or threads with low-values) get down-voted very quickly. It might also help to avoid such 50 pages threads (like auto-decoding) as the most-important thread stays on top and newcomers to the discussion don't have to read everything to get the gist. Preliminary documentation work: https://medium.com/hacking-and-gonzo/how-reddit-ranking-algorithms-work-ef111e33d0d9#.vawc5kat8 And you wan submit the result on Pantallex DFeeds. The widget on the homepage must use something similar (except for up/down) votes. So at least 10 replies + something with the age of the topic. [OT] is usally a good hint about the quality of the topic but people must remember to add it when they slide.
Re: Why D isn't the next "big thing" already
On Saturday, 30 July 2016 at 22:52:23 UTC, bachmeier wrote: On Saturday, 30 July 2016 at 12:30:55 UTC, LaTeigne wrote: On Saturday, 30 July 2016 at 12:24:55 UTC, ketmar wrote: On Saturday, 30 July 2016 at 12:18:08 UTC, LaTeigne wrote: it you think that you know the things better than somebody who actually *lived* there in those times... well, keep thinking that. also, don't forget to teach physics to physicians, medicine to medics, and so on. i'm pretty sure that you will have a great success as a stupidiest comic they ever seen in their life. also, don't bother answering me, i won't see it anyway. Fucking schyzo ;) Have you took your little pills today ? Well this is beautiful marketing for the language. At some point, the leadership will need to put away ideology and get realistic about what belongs on this site. This has nothing to do with the language, this is a simple personnal attack. You should get that, as much as any reader that discovers D would do.
Re: Why D isn't the next "big thing" already
On Saturday, 30 July 2016 at 12:24:55 UTC, ketmar wrote: On Saturday, 30 July 2016 at 12:18:08 UTC, LaTeigne wrote: it you think that you know the things better than somebody who actually *lived* there in those times... well, keep thinking that. also, don't forget to teach physics to physicians, medicine to medics, and so on. i'm pretty sure that you will have a great success as a stupidiest comic they ever seen in their life. also, don't bother answering me, i won't see it anyway. Fucking schyzo ;) Have you took your little pills today ?
Re: Why D isn't the next "big thing" already
On Saturday, 30 July 2016 at 11:46:11 UTC, ketmar wrote: On Saturday, 30 July 2016 at 11:31:26 UTC, LaTeigne wrote: For example in the 2000's Delphi was incredibly popular in Russia because the holder at this time (so Borland unless it was already Code Gear) sold literally **hundreds** of licenses to the russian education department. actually, no. nobody ever bothers to buy licenses at all. delphi was popular due to teachers mostly know nothing except pascal, so using turbo pascal, then borland pascal, then delphi Your stupid. This is a well known fact. https://www.quora.com/I-have-been-told-that-Russians-are-the-best-in-computer-programming-Why-is-that-Which-programming-language-do-they-use-Do-they-use-the-same-languages-that-we-use-or-do-they-use-something-totally-different/answer/Dmitry-Popov-6 http://delphihaters0.blogspot.com/2011/02/delphi-in-russia.html PPL using pirated copies is another story. I speak well about what was setup in the universities themselves, you know... in the computer rooms. was the logical choice. believe me, it had nothing to do with licensing, you hardly ever find legal, non-pirated delphi version there. You remind me that an idiot has open-sourced the keygen on GitHub. Don't know if it's still there. By the way aren't you czech Ketmar ?
Re: Why D isn't the next "big thing" already
On Saturday, 30 July 2016 at 01:32:50 UTC, Karabuta wrote: On Tuesday, 26 July 2016 at 15:11:00 UTC, llaine wrote: Hi guys, I'm using D since a few month now and I was wondering why people don't jump onto it that much and why it isn't the "big thing" already. Everybody is into javascript nowadays, but IMO even for doing web I found Vibe.d more interesting and efficient than node.js for example. I agree that you have to be pragmatic and choose the right tools for the right jobs but I would be interested to have other opinion on thoses questions. I think we need more frameworks like vibe.d to build things with them. Currently there is not much so only a class of programmers will find the language useful. Another thing is that the language is not marketed well enough. Someone need to handle marketing of the language, like real marketing. Most people are still unaware of D. The best marketing possible is pre-marketing in universities. For example in the 2000's Delphi was incredibly popular in Russia because the holder at this time (so Borland unless it was already Code Gear) sold literally **hundreds** of licenses to the russian education department. This is how it became so popular in Eastern Europe, despite of not being free. The day D will be used to teach student programmation it could get popular. Unfortunately since the students that form the main frame of workers have short formation (typically 2 years) they are taught what's really used in the industry so Java, C++ + web languages, so that they're ready to program the same shit during 10 years, until they leave and reconvert.