Wednesday, September 10, 2014

Digest for comp.lang.c++@googlegroups.com - 8 updates in 4 topics

comp.lang.c++@googlegroups.com Google Groups
Unsure why you received this message? You previously subscribed to digests from this group, but we haven't been sending them for a while. We fixed that, but if you don't want to get these messages, send an email to comp.lang.c+++unsubscribe@googlegroups.com.
ram@zedat.fu-berlin.de (Stefan Ram): Sep 10 11:32PM

>Are there any IDEs (if you exclude emacs) that don't require a windowing
>system?
 
The Unix command line is the ultimate IDE IMHO.
You get: man pages, ctags, valgrind, ... you name it.
 
Then, SCNR, we also got vim, which has, IIRC, several
customizations (kind of macro packages) for development
purposes.
 
There is a vim IDE to develop Android programs on Android
itself (native). I'm not aware of any other IDE, be it with
or without a windowing system, that runs on Android and
allows one to develope Android software in C++ and in Java.
Lynn McGuire <lmc@winsim.com>: Sep 10 03:28PM -0500

"JetBrains CLion C++ IDE First Impressions"
http://cpprocks.com/jetbrains-clion-c-ide-first-impressions/
 
Nice! The only real problem that I see is that you
have to be running a windowing system. I do not run
a windowing system on my FreeBSD web server so I
cannot use it.
 
Lynn
Ian Collins <ian-news@hotmail.com>: Sep 11 10:46AM +1200

Lynn McGuire wrote:
> http://cpprocks.com/jetbrains-clion-c-ide-first-impressions/
 
> Nice! The only real problem that I see is that you
> have to be running a windowing system.
 
Are there any IDEs (if you exclude emacs) that don't require a windowing
system?
 
--
Ian Collins
glen stark <g.a.stark@gmail.com>: Sep 10 10:41AM

Hi everyone.
 
I'm in the position that I have an input stream, start_pos, and end_pos,
and I'd like to copy the contents of the stream from start_pos to end_pos
into a string.
 
I can think of a number of ways to do this, but I don't like any of
them. What do you think is the most elegant way to do this?
 
Thanks,
Victor Bazarov <v.bazarov@comcast.invalid>: Sep 10 08:33AM -0400

On 9/10/2014 6:41 AM, glen stark wrote:
> into a string.
 
> I can think of a number of ways to do this, but I don't like any of
> them. What do you think is the most elegant way to do this?
 
It must be by means of std::copy.
 
V
--
I do not respond to top-posted replies, please don't ask
Juha Nieminen <nospam@thanks.invalid>: Sep 10 02:24PM

> into a string.
 
> I can think of a number of ways to do this, but I don't like any of
> them. What do you think is the most elegant way to do this?
 
std::copy with a std::back_inserter.
 
It might not be the most *efficient* implementation, but it's fairly
short, simple and elegant.
 
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Victor Bazarov <v.bazarov@comcast.invalid>: Sep 10 02:18PM -0400

On 9/10/2014 8:33 AM, Victor Bazarov wrote:
 
>> I can think of a number of ways to do this, but I don't like any of
>> them. What do you think is the most elegant way to do this?
 
> It must be by means of std::copy.
 
Or perhaps by means of one of c-tors. Standard string has a constructor
from two input iterators (see 21.4.2/14), so if you can convert the
positions into iterators, you could simply construct the string from them.
 
V
--
I do not respond to top-posted replies, please don't ask
Chris Kohlhepp <chris.kohlhepp@gmail.com>: Sep 10 02:06AM -0700

Challenging Clojure's Integration with Java in Lisp with C++
 
http://chriskohlhepp.wordpress.com/embedding-lisp-in-cplusplus-a-recipe/
 
Our recipe will present support for the following features:
 
1) The extreme expressiveness of Lisp embedded in C++, not just C
 
2) "Live programming" via a Python style REPL directly in a C++ process
 
3) Support for bidirectional calls from Lisp to C++ and C++ to Lisp
 
4) Inlining C++ directly in Lisp
 
5) Variable support for interpreted, byte-compiled and natively JIT compiled operation
 
6) The ability to re-use not only C++ libraries from Lisp but also re-use all of Lisp's libraries.
 
7) A means of configuration management via Lisp to replace INI files or XML.
 
All in about 50 lines of code...
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.

No comments: