Re: [GSoC] Precise GC

2016-09-07 Thread thedeemon via Digitalmars-d-announce

On Tuesday, 6 September 2016 at 14:56:15 UTC, jmh530 wrote:

GC (and runtime in general) has no idea what code is safe and 
what code is system. GC works with data at run-time. All 
@safe-related stuff is about code (not data!) and happens at 
compile-time. They are completely orthogonal and independent, 
as I understand.


I don't see why you wouldn't be able to use compile-time 
information like __traits with the runtime.


In my head, I imagine that at compile-time you can figure out 
which unions are in @safe functions, add a UDA to each (so 
you're marking data, not code), and then read that information 
at run-time (like with __traits).


UDAs are also purely compile-time, they don't exist as run-time 
data.


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 18:14:29 UTC, Suliman wrote:

You could look my PC with TeamViewer


Ok problem fixed. The config was invalid, it needs to look like 
this:


{
"d.stdlibPath": [
"C:\\D\\dmd2\\src\\phobos",
"C:\\D\\dmd2\\src\\druntime\\import"
]
}

Just forgot these braces {} to make it valid json


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 18:10:23 UTC, WebFreak001 wrote:

On Wednesday, 7 September 2016 at 18:09:23 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 18:08:14 UTC, Suliman wrote:

If open working folder: https://snag.gy/MnTJtB.jpg


https://snag.gy/5r2REm.jpg


it should work now if you enter at least one character and then 
ctrl-space (and maybe also escape before that to close the 
vscode internal auto complete thing)


Do not work :(

You could look my PC with TeamViewer

ID 179 707 485
pass 6543


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 18:09:23 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 18:08:14 UTC, Suliman wrote:

If open working folder: https://snag.gy/MnTJtB.jpg


https://snag.gy/5r2REm.jpg


it should work now if you enter at least one character and then 
ctrl-space (and maybe also escape before that to close the vscode 
internal auto complete thing)


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 18:08:14 UTC, Suliman wrote:

If open working folder: https://snag.gy/MnTJtB.jpg


https://snag.gy/5r2REm.jpg


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

If open working folder: https://snag.gy/MnTJtB.jpg


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 18:06:12 UTC, Suliman wrote:
On Wednesday, 7 September 2016 at 18:00:45 UTC, WebFreak001 
wrote:

On Wednesday, 7 September 2016 at 17:55:59 UTC, Suliman wrote:
Sorry, I do not understand what do you mean? Clean solution 
with empty project? And what part? Just screenshot of main 
window?


Ctrl-Shift-P -> Toggle Developer Tools

then go to console at the top and there are a lot of debug 
messages from code-d


This?

https://snag.gy/QP0OCs.jpg
https://snag.gy/2VGoKF.jpg


"code-d requires a folder to be open to work"


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 18:00:45 UTC, WebFreak001 wrote:

On Wednesday, 7 September 2016 at 17:55:59 UTC, Suliman wrote:
Sorry, I do not understand what do you mean? Clean solution 
with empty project? And what part? Just screenshot of main 
window?


Ctrl-Shift-P -> Toggle Developer Tools

then go to console at the top and there are a lot of debug 
messages from code-d


This?

https://snag.gy/QP0OCs.jpg
https://snag.gy/2VGoKF.jpg


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:55:59 UTC, Suliman wrote:
Sorry, I do not understand what do you mean? Clean solution 
with empty project? And what part? Just screenshot of main 
window?


Ctrl-Shift-P -> Toggle Developer Tools

then go to console at the top and there are a lot of debug 
messages from code-d


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:26:04 UTC, WebFreak001 wrote:

On Wednesday, 7 September 2016 at 17:24:45 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are 
exists).


But I still do not getting surrestion for import like std. 
and for any Phobos functions like writeln etc


Hm... Does it's need time for cashing symbols? It's seems 
that work, but I still not understand if it's ok or not.


https://snag.gy/9QgzKn.jpg


that happens when it can't find any auto completions. Can you 
send a screenshot of the developer tools right after startup + 
attempt to autocomplete (try to avoid hovering over symbols to 
make the debug output smaller)


Sorry, I do not understand what do you mean? Clean solution with 
empty project? And what part? Just screenshot of main window?


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:24:45 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are 
exists).


But I still do not getting surrestion for import like std. 
and for any Phobos functions like writeln etc


Hm... Does it's need time for cashing symbols? It's seems that 
work, but I still not understand if it's ok or not.


https://snag.gy/9QgzKn.jpg


that happens when it can't find any auto completions. Can you 
send a screenshot of the developer tools right after startup + 
attempt to autocomplete (try to avoid hovering over symbols to 
make the debug output smaller)


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are 
exists).


But I still do not getting surrestion for import like std. and 
for any Phobos functions like writeln etc


Hm... Does it's need time for cashing symbols? It's seems that 
work, but I still not understand if it's ok or not.


https://snag.gy/9QgzKn.jpg


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:21:17 UTC, Suliman wrote:

On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are 
exists).


But I still do not getting surrestion for import like std. and 
for any Phobos functions like writeln etc


Hm... Does it's need time for cashing symbols? It's seems that 
work, but I still not understand if it's ok or not.


Depends on how many dependencies it has. More dependencies = 
longer cache time at the start where its unresponsive. Also I 
assume you just downloaded the workspace-d.exe from the project 
page or compiled it yourself with **LDC** <-- important, 
otherwise that might be the issue.


When it says "DCD is ready" in the console it will load the dub 
dependencies. After that you should be able to autocomplete 
phobos paths


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are 
exists).


But I still do not getting surrestion for import like std. and 
for any Phobos functions like writeln etc


Hm... Does it's need time for cashing symbols? It's seems that 
work, but I still not understand if it's ok or not.


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 17:08:36 UTC, Suliman wrote:

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are 
exists).


But I still do not getting surrestion for import like std. and 
for any Phobos functions like writeln etc


Can you check the output in the developer tools and also post an 
issue on workspace-d with the log from the dev tools when you try 
to auto complete?


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce

"d.stdlibPath": [
 "C:\\D\\dmd2\\src\\phobos",
 "C:\\D\\dmd2\\src\\druntime\\import"
]

I check path, look like this is correct (al lst they are exists).

But I still do not getting surrestion for import like std. and 
for any Phobos functions like writeln etc





Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread WebFreak001 via Digitalmars-d-announce

On Wednesday, 7 September 2016 at 07:37:11 UTC, Suliman wrote:
And to get the visual studio code extension, simply search for 
`code-d` in >the extensions manager. It will pop up as `D 
Programming Language (code-d)`


So to get it work I should place dcd-client.exe dcd-server.exe 
dscanner.exe and workspace-d.exe in dir that set in PATH (for 
me it's C:\D\dmd2\windows\bin ) right?


But after it it's do not seems to be working:

http://img.ctrlv.in/img/16/09/07/57cfc3120b3c5.png

What I am doing wrong?


Oh right on windows you also need to change the path of 
phobos/druntime in your vscode config. For example if you 
installed D on C:\D\ you would add this to your vscode user 
settings (ctrl-shift-p -> user settings):


"d.stdlibPath": [
"C:\\D\\druntime\\import",
"C:\\D\\include\\dmd\\phobos"
]

(you should also check these paths before copy-pasting because I 
am not sure if they are correct)


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-07 Thread Suliman via Digitalmars-d-announce
And to get the visual studio code extension, simply search for 
`code-d` in >the extensions manager. It will pop up as `D 
Programming Language (code-d)`


So to get it work I should place dcd-client.exe dcd-server.exe 
dscanner.exe and workspace-d.exe in dir that set in PATH (for me 
it's C:\D\dmd2\windows\bin ) right?


But after it it's do not seems to be working:

http://img.ctrlv.in/img/16/09/07/57cfc3120b3c5.png

What I am doing wrong?


Re: [OT] LLVM 3.9 released - you can try the release already with LDC!

2016-09-07 Thread eugene via Digitalmars-d-announce
On Wednesday, 7 September 2016 at 07:04:15 UTC, Robert M. Münch 
wrote:

And now?


and now the same i think)))


Re: [OT] LLVM 3.9 released - you can try the release already with LDC!

2016-09-07 Thread Robert M. Münch via Digitalmars-d-announce

On 2016-09-06 10:51:16 +, eugene said:

i dont think counting each time when ldc and d are mentioned in llvm 
community will help ldc and d to become popular)))


And now?

--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster