There are some quotes missing when building the Debug
configuration. I have committed a fix and also added the
missing file reported in your other message (IIRC it is not
needed by every VS SDK).
Sorry,Rainer Schuetze,
Here is some error when compile the VisualD:
--ERROR
On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:
There are some quotes missing when building the Debug
configuration. I have committed a fix and also added the
missing file reported in your other message (IIRC it is not
needed by every VS SDK).
Sorry,Rainer Schuetze,
And there is a
On 12.05.2014 08:36, FrankLike wrote:
There are some quotes missing when building the Debug configuration. I
have committed a fix and also added the missing file reported in your
other message (IIRC it is not needed by every VS SDK).
Sorry,Rainer Schuetze,
Here is some error when compile the
On 12.05.2014 08:38, FrankLike wrote:
On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:
There are some quotes missing when building the Debug configuration.
I have committed a fix and also added the missing file reported in
your other message (IIRC it is not needed by every VS SDK).
ctc.exe is not distributed with the SDKs starting from VS2010,
so mapping to a more recent version does not work. That's why
there is a precompiled pkgcmd.cto file in the repository.
You'll have to update its modification time to avoid the build
process trying to generate it from pkgcmd.ctc
Given that...
1. importing a module makes it compile the entirety of it, as
well as whatever it may be importing in turn
2. templates are only compiled if instantiated
3. the new package.d functionality
...is there a reason *not* to make every single
function/struct/class separate submodules
On Mon, 12 May 2014 08:37:42 +
JR via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
Given that...
1. importing a module makes it compile the entirety of it, as
well as whatever it may be importing in turn
2. templates are only compiled if instantiated
3. the new package.d
and is there any way to sort char array with algorithm.sort?
---
import std.algorithm;
import std.range;
void main()
{
int[] arr = [5, 3, 7];
sort(arr); // OK
char[] arr2 = ['z', 'g', 'c'];
sort(arr2); // error
sort!q{ a[0] b[0] }(zip(arr, arr2)); // error
}
---
I don't know what's
On Monday, 12 May 2014 at 14:49:53 UTC, hane wrote:
and is there any way to sort char array with algorithm.sort?
---
import std.algorithm;
import std.range;
void main()
{
int[] arr = [5, 3, 7];
sort(arr); // OK
char[] arr2 = ['z', 'g', 'c'];
sort(arr2); // error
sort!q{ a[0] b[0]
On Monday, 12 May 2014 at 14:56:46 UTC, John Colvin wrote:
On Monday, 12 May 2014 at 14:49:53 UTC, hane wrote:
and is there any way to sort char array with algorithm.sort?
---
import std.algorithm;
import std.range;
void main()
{
int[] arr = [5, 3, 7];
sort(arr); // OK
char[] arr2 = ['z',
PATH environment variable is not related at all with phobos2
sources paths.
All Linux packages (Ubuntu too) includes
-I/usr/include/dmd/phobos on /etc/dmd.conf configuration file.
If you need to explicit pass this argument to dmd compiler, may
be due to several reasons.
- You've edited your
On Monday, 12 May 2014 at 15:02:54 UTC, Moses wrote:
PATH environment variable is not related at all with phobos2
sources paths.
All Linux packages (Ubuntu too) includes
-I/usr/include/dmd/phobos on /etc/dmd.conf configuration
file.
If you need to explicit pass this argument to dmd compiler,
On 5/12/14, 5:37 AM, JR wrote:
Given that...
1. importing a module makes it compile the entirety of it, as well as
whatever it may be importing in turn
2. templates are only compiled if instantiated
3. the new package.d functionality
...is there a reason *not* to make every single
On Monday, 12 May 2014 at 09:16:53 UTC, Jonathan M Davis via
Digitalmars-d-learn wrote:
Well, that would be a lot of extraneous files, which would be
very messy IMHO.
It also makes it much harder to share private functionality,
because
everything is scattered across modules - you'd be force to
On Mon, 12 May 2014 14:49:52 +
hane via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
and is there any way to sort char array with algorithm.sort?
---
import std.algorithm;
import std.range;
void main()
{
int[] arr = [5, 3, 7];
sort(arr); // OK
char[] arr2 =
Based on this conversation in another thread:
http://forum.dlang.org/thread/wdddgiowaidcojbrk...@forum.dlang.org?page=5#post-yjmrqgesjtadecutvkye:40forum.dlang.org
I've realised i may have a nasty bug lurking in the code. Now i
want to completely understand what is happening.
Take the
On 05/10/2014 06:28 PM, TheFlyingFiddle via Digitalmars-d-learn wrote:
On Friday, 9 May 2014 at 23:12:44 UTC, Charles Hixson via
Digitalmars-d-learn wrote:
But I'm worried about the receiving end. It needs, somehow, to ensure
that the message it receives is the appropriate message, and that
On 05/12/2014 09:29 AM, Jonathan M Davis via Digitalmars-d-learn wrote:
On Mon, 12 May 2014 14:49:52 +
hane via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
and is there any way to sort char array with algorithm.sort?
---
import std.algorithm;
import std.range;
void main()
On Mon, 12 May 2014 11:08:47 -0700
Charles Hixson via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
On 05/12/2014 09:29 AM, Jonathan M Davis via Digitalmars-d-learn
wrote:
On Mon, 12 May 2014 14:49:52 +
hane via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
On Monday, 12 May 2014 at 08:37:43 UTC, JR wrote:
What am I missing?
Error messages!
If your code is not compiled, you can't know whether it is valid
or not.
I must say that since we have unittests, this is somewhat less
relevant, but still...
One nice thing would be stripping the
AFAIK, addRoot is for memory allocated in GC heap, and addRange
is for other types of memory, so you can't add non-gc memory as
root (just a guess, see docs). I would allocate whole Args in GC
heap and add is as root, yes, it would prevent collection until
the root is removed. A better way
On Monday, 12 May 2014 at 19:13:28 UTC, Kagamin wrote:
AFAIK, addRoot is for memory allocated in GC heap, and addRange
is for other types of memory, so you can't add non-gc memory as
root (just a guess, see docs). I would allocate whole Args in
GC heap and add is as root, yes, it would prevent
You can write a tool, which will construct an amalgamation build
of your code.
Why many? I'd say, you typically have 0 subscriptions (label,
textbox) per widget, seldom - 1 (button, combobox, checkbox).
combobox and checkbox usually don't require a subscription
either. Only button requires a reaction from your code,
everything else usually works on its own.
Hi I am trying to iterate over a mmfile (ubyte[]) and convert it
to uint
void main(){
MmFile inn = new MmFile(mmData.dat);
ubyte[] arr = cast(ubyte[])inn[];
for(ulong index = 0; indexarr.length; index+=4){
ulong stop = index+4;
uint num
On Mon, 12 May 2014 20:12:41 +
Kai via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
Hi I am trying to iterate over a mmfile (ubyte[]) and convert it
to uint
void main(){
MmFile inn = new MmFile(mmData.dat);
ubyte[] arr = cast(ubyte[])inn[];
for(ulong index = 0;
On Saturday, 10 May 2014 at 11:59:03 UTC, Robert Schadek via
Digitalmars-d-learn wrote:
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn
wrote:
Phobos' std.getopt is a bit spare for my taste, as there is
no builtin general help facility with word-wrapping.
...
--
Chris
please help
On Saturday, 10 May 2014 at 09:50:04 UTC, Jacob Carlborg wrote:
On 2014-05-10 01:09, Chris Piker wrote:
Phobos' std.getopt is a bit spare for my taste, as there is
no builtin general help facility with word-wrapping.
...
I'm using the one in Tango [1] with some additions [2]. It's a
bit
On Monday, 12 May 2014 at 20:03:46 UTC, Kagamin wrote:
Why many? I'd say, you typically have 0 subscriptions (label,
textbox) per widget, seldom - 1 (button, combobox, checkbox).
There are many events that can be bound to on any widget.
Hi, I have some documents where some strings appears in HTML escape
sequences in one of these forms:
\x3C\x53\x43\x52\x49\x50\x54\x20\x4C\x41\x4E\x47\x55\x41\x47\x45\x3D\x22\x4A\x61\x76\x61\x53\x63\x72\x69\x70\x74\x22\x3e
On 05/12/2014 10:44 PM, Chris Piker via Digitalmars-d-learn wrote:
On Saturday, 10 May 2014 at 11:59:03 UTC, Robert Schadek via
Digitalmars-d-learn wrote:
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote:
Phobos' std.getopt is a bit spare for my taste, as there is
no builtin
1.DFL's Memory Usage is the least than other. winsamp.exe is
2.1M,DFL's example's exe is 2.7M.
2.The size of DFL's example's exe files is the least than other,
and only a single file.
3.DFL's source code is the most easy to understand.
Although DFL not use on Linux or Mac os X,it's easy to do
You should use decodeComponent instead of decode in your matchAll
loop.
IMO encodeComponent and decodeComponent are the only two useful
uri encode functions (btw same in JS, use decodeURIComponent
instead of the other functions). The other ones have weird rules.
@FreeSlave John Colvin
Yes, I see your point. I could still get tearing on a read. So,
in the case of methods that I believe are safe (e.g. 1-line
@property getters) I'll just write a shared variadic function
template that uses (cast()this).foo(args) to forward to the
non-shared method...
On Monday, 12 May 2014 at 23:11:57 UTC, Robert Schadek via
Digitalmars-d-learn wrote:
Chris
please help to make this happen
https://github.com/D-Programming-Language/phobos/pull/2072
I'm not sure what you are asking for. Would you like me to
tryout getoptEx?
yes please test it
Okay, I
Hi clever people
I'm trying to do something which I thought would be easy.
Read a file in, and for every row, create a array.
I want to be able to name the rows, as they are built.
So when row 1 is read in I get
int[] bob_1 = new int[0];
when the second row is read in, I get
int[] bob_2 = new
You should look into associative arrays (
http://dlang.org/hash-map .)
Example:
import std.stdio;
void main()
{
int[][string] mybobs;
mybobs[bob_1] = [-1, -1, 1, -1, -1];
mybobs[bob_2] = [-1, 1, 1, 1, -1];
mybobs[bob_3] = [-1, 1, 1, 1, -1];
On Tuesday, 13 May 2014 at 03:54:33 UTC, safety0ff wrote:
You should look into associative arrays (
http://dlang.org/hash-map .)
Example:
import std.stdio;
void main()
{
int[][string] mybobs;
mybobs[bob_1] = [-1, -1, 1, -1, -1];
mybobs[bob_2] = [-1, 1, 1, 1, -1];
On 05/12/2014 08:47 PM, InfinityPlusB wrote:
I want to be able to name the rows, as they are built.
First, no, you cannot name variables at run time because variables are
concepts of source code; they don't exist in the compiled program.
So when row 1 is read in I get
int[] bob_1 = new
On Tuesday, 13 May 2014 at 04:26:04 UTC, Ali Çehreli wrote:
On 05/12/2014 08:47 PM, InfinityPlusB wrote:
I want to be able to name the rows, as they are built.
First, no, you cannot name variables at run time because
variables are concepts of source code; they don't exist in the
compiled
I've just thought of a problem. Others who uses my program on their computers
needs to change their setting. It is a bit troublesome.
On 2014年5月11日 格林尼治标准时间+0800下午3时43分41秒, FrankLike via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
On Sunday, 11 May 2014 at 06:35:26 UTC,
https://issues.dlang.org/show_bug.cgi?id=10326
--- Comment #6 from bearophile_h...@eml.cc ---
I'd like to reopen this issue because it's not done yet. The last missing step
is to (in future) give an error in line 2 of program, disallowing the () after
invariant:
struct Foo {
invariant() {
https://issues.dlang.org/show_bug.cgi?id=12736
Issue ID: 12736
Summary: @nogc std.algorithm.all
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=10326
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://issues.dlang.org/show_bug.cgi?id=10326
--- Comment #8 from Temtaime temta...@gmail.com ---
I agree () should give deprecation for now and error in future.
--
https://issues.dlang.org/show_bug.cgi?id=12735
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Keywords||accepts-invalid
https://issues.dlang.org/show_bug.cgi?id=12015
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=12719
--- Comment #4 from Kenji Hara k.hara...@gmail.com ---
(In reply to monarchdodra from comment #3)
I still ice with this, and it passed in 2.065:
//
enum canDoIt(R) = is(typeof(Wrapper!R));
struct Wrapper(R)
{
R r;
static if
https://issues.dlang.org/show_bug.cgi?id=12691
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
Keywords||pull
https://issues.dlang.org/show_bug.cgi?id=12737
Issue ID: 12737
Summary: static constructor requires call of super constructor
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=12660
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=12713
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=12666
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment
https://issues.dlang.org/show_bug.cgi?id=12727
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||ice, pull
https://issues.dlang.org/show_bug.cgi?id=12713
Dmitry Olshansky dmitry.o...@gmail.com changed:
What|Removed |Added
Keywords||pull
https://issues.dlang.org/show_bug.cgi?id=12738
Issue ID: 12738
Summary: core.sys.posix.signal sigaction_t handler type
mismatch
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=12738
--- Comment #1 from hst...@quickfur.ath.cx ---
extern(C) functions are nothrow by definition, so this code should not be
rejected.
--
https://issues.dlang.org/show_bug.cgi?id=12738
hst...@quickfur.ath.cx changed:
What|Removed |Added
Component|DMD |druntime
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=12660
--- Comment #2 from bearophile_h...@eml.cc ---
(In reply to yebblies from comment #1)
I vaguely recall this being about attributes on the LHS of invariants being
ignored.
If I put @nogc on the right:
class Foo {
this() @nogc {}
https://issues.dlang.org/show_bug.cgi?id=12738
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=12660
--- Comment #3 from yebblies yebbl...@gmail.com ---
Different problem.
--
https://issues.dlang.org/show_bug.cgi?id=12738
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=12724
--- Comment #10 from monarchdo...@gmail.com ---
(In reply to bearophile_hugs from comment #9)
(In reply to monarchdodra from comment #8)
It means you've tested what needs to be tested, and the input given need to
proceed with the rest of the
https://issues.dlang.org/show_bug.cgi?id=12737
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=12737
--- Comment #2 from Robert Schadek rburn...@gmail.com ---
But it is the static ctor and A has no static member!?
--
https://issues.dlang.org/show_bug.cgi?id=4274
--- Comment #7 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/b754fbe2883bd182e7a2e6e23e7cbad97bedcd64
Update container.d
https://issues.dlang.org/show_bug.cgi?id=12737
--- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com ---
The static constructor has nothing to do with the error. Look at my
counter-example. It's exactly the same except for the fact that it has not
static constructor. The problem is that a
https://issues.dlang.org/show_bug.cgi?id=9881
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=12739
Issue ID: 12739
Summary: Foreach delegate to opApply does not have infered
nothrow
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=12740
Issue ID: 12740
Summary: DMD accepts invalid version syntax
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=12740
briancsch...@gmail.com changed:
What|Removed |Added
Keywords||accepts-invalid
Blocks|
https://issues.dlang.org/show_bug.cgi?id=10233
briancsch...@gmail.com changed:
What|Removed |Added
Depends on||12740
--
https://issues.dlang.org/show_bug.cgi?id=12741
Issue ID: 12741
Summary: DMD accepts functions with contracts and no body
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=10233
briancsch...@gmail.com changed:
What|Removed |Added
Depends on||12741
--
https://issues.dlang.org/show_bug.cgi?id=12741
briancsch...@gmail.com changed:
What|Removed |Added
Keywords||accepts-invalid, spec
https://issues.dlang.org/show_bug.cgi?id=12727
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/fbd78c3db2c2c03ec098c1b433431d7f3f144ef7
fix Issue 12727 - DMD hangs
https://issues.dlang.org/show_bug.cgi?id=12727
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=12691
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/520438d9ef3f80af3e6c790798cfab4158e3402f
Fix issue 12691
https://issues.dlang.org/show_bug.cgi?id=12691
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=12741
j...@red.email.ne.jp changed:
What|Removed |Added
Keywords|accepts-invalid |
CC|
On 05/11/2014 11:15 PM, John Carter via Digitalmars-d-announce wrote:
The timezones being so different, I'm not sure livestreaming will help
me... But I do plan to watch any videos of it as soon as they are up.
It's the same problem for all Europeans (and many other), including me.
I'm also
On Friday, 9 May 2014 at 19:48:20 UTC, Andrei Alexandrescu wrote:
Hi folks,
We at Facebook are very excited about the upcoming DConf 2014.
In fact, so excited we're considering livestreaming the event
for the benefit of the many of us who can't make it to Menlo
Park, CA. Livestreaming
If you use a Google hangout on air with a laptop that is pointing at the
presenter, I don't see much extra cost, except perhaps the cost of the
bandwidth(free?).
You probably even put a link on the dlang website that opens the hangout,
with a different hangout for each session. If you are wanting
On Monday, 12 May 2014 at 07:21:39 UTC, Dicebot wrote:
Will that also mean that we won't need to wait several months
for all videos to be published? :)
This is an interesting point. If memory serves last time one
video was released per week, meaning that reddit/hn readers could
properly
On 5/12/14, Dicebot via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Will that also mean that we won't need to wait several months for
all videos to be published? :)
Better record the livestream then!
On 12 May 2014 10:50, Walter Bright via Digitalmars-d
digitalmars-d@puremagic.com wrote:
They are using Rust to write a safe and performant web browser while
developing
the language.
Sure. But that browser hasn't been released yet. Consider that I've written
safe and performant code in D,
On 12.05.2014 06:57, Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com wrote:
On Sunday, 11 May 2014 at 20:45:08 UTC, Rainer Schuetze wrote:
On 11.05.2014 22:33, Walter Bright wrote:
The Boehm collector cannot move objects around, the D one can.
Oh it can? Really?
Yes. D, for
On Monday, 12 May 2014 at 00:44:54 UTC, Andrei Alexandrescu wrote:
On 5/11/14, 2:49 PM, ponce wrote:
On Sunday, 11 May 2014 at 21:43:06 UTC, sclytrack wrote:
There is very little use of @, it's mostly and ~.
Heck I
didn't find any @ while casually browsing the code. It's like
they are
On Wednesday, 7 May 2014 at 15:54:42 UTC, Paulo Pinto wrote:
So the videos of the Gophercon 2014 are being made available.
Rob Pike did the keynote. At the expected question about
generics,
his answer was There are no plans for generics. I said we're
going to leave the language; we're done..
On Monday, 12 May 2014 at 07:12:29 UTC, Manu via Digitalmars-d
wrote:
You haven't told me how I can use the GC (or whatever memory
management scheme, I really don't care) in the low frequency
code
(again, read: almost all code ever), and not have it interfere
with
the high frequency code.
On Monday, 12 May 2014 at 00:44:54 UTC, Andrei Alexandrescu wrote:
On 5/11/14, 2:49 PM, ponce wrote:
On Sunday, 11 May 2014 at 21:43:06 UTC, sclytrack wrote:
There is very little use of @, it's mostly and ~.
Heck I
didn't find any @ while casually browsing the code. It's like
they are
On 12 May 2014 17:24, Dicebot via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Monday, 12 May 2014 at 07:12:29 UTC, Manu via Digitalmars-d wrote:
You haven't told me how I can use the GC (or whatever memory
management scheme, I really don't care) in the low frequency code
(again, read:
On Monday, 12 May 2014 at 00:50:24 UTC, Walter Bright wrote:
On 5/11/2014 1:59 PM, Timon Gehr wrote:
Borrowed pointers are not even superficially similar to near*.
They are
compatible with everything else, because they can store data
that was borrowed
from anywhere else.
As long as those
On Monday, 12 May 2014 at 08:10:43 UTC, Tommi wrote:
Perhaps: [..]
Somewhat surprisingly to me, you can later on change the borrowed
pointer in the mutable static 'Test' to point at a mutable static
int:
struct Test {
n: 'static int
}
static old: int = 111;
static mut new: int = 222;
On Monday, 12 May 2014 at 04:22:21 UTC, Marco Leise wrote:
On the positive side the talk about Rust, in particular how
reference counted pointers decay to borrowed pointers made me
think the same could be done for our scope args. A reference
counted slice with 3 machine words could decay to a 2
On 5/12/2014 12:12 AM, Manu via Digitalmars-d wrote:
What? You've never offered me a practical solution.
I have, you've just rejected them.
What do I do?
1. you can simply do C++ style memory management. shared_ptr, etc.
2. you can have the non-pausible code running in a thread that is
On 5/11/2014 10:57 PM, Marco Leise wrote:
Am Sun, 11 May 2014 17:50:25 -0700
schrieb Walter Bright newshou...@digitalmars.com:
As long as those pointers don't escape. Am I right in that one cannot store a
borrowed pointer into a global data structure?
Right, and that's the point and entirely
Walter Bright:
But I don't see how this could work in Rust.
Ask it to competent Rust developers/programmers.
Bye,
bearophile
On Monday, 12 May 2014 at 08:45:56 UTC, Walter Bright wrote:
On 5/12/2014 12:12 AM, Manu via Digitalmars-d wrote:
What? You've never offered me a practical solution.
I have, you've just rejected them.
What do I do?
1. you can simply do C++ style memory management. shared_ptr,
etc.
2.
1 - 100 of 191 matches
Mail list logo