Better HN
topnewbestaskshowjobs
Log inSign up

xedin

169 karma · joined Oct 19, 2010 (16y ago) · 13 submissions

Submissions

comment 7y ago · link · parent

This is the diagnostic produced for similar example using new diagnostic architecture:

error: binary operator '+' cannot be applied to operands of type 'String' and 'Int'

_ = "a" + 1

   ~~~ ^ ~
note: overloads for '+' exist with these partially matching parameter lists: (Int, Int), (String, String)

_ = "a" + 1

       ^
note: candidate expects value of type 'String' for parameter #2

    @inlinable public static func + (lhs: String, rhs: String) -> String
                                  ^
note: candidate expects value of type 'Int' for parameter #1

    public static func + (lhs: Int, rhs: Int) -> Int
                       ^

comment 7y ago · link · parent

There is a discussion about introducing "descriptive" diagnostics of the same style happening on the Swift Forums at the moment - https://forums.swift.org/t/pitch-extended-error-messages-dia....

I this it's a great idea and with new diagnostic architecture described in the blog post it would be relatively easy to archive.

comment 7y ago · link · parent

Yes, SwiftUI diagnostics in particular are going to benefit from these changes.

4.

New Diagnostic Architecture Overview(swift.org ↗)

107 points · by xedin · 7y ago · 16 comments

comment 10y ago · link · parent

Yes, exactly since it allows for fewer context switches and cache locality not only for the network packets but for disk I/O as well.

comment 10y ago · link · parent

It uses Thread-Per-Core architecture where Netty/Reactor use thread-pools to process work and have dedicated threads for selecting from network.

7.

Java 8 Library for Building High-Performance, Thread-Per-Core Applications(github.com ↗)

2 points · by xedin · 10y ago · 4 comments

8.

Improved Secondary Indexing with New Query Capabilities for Cassandra(github.com ↗)

20 points · by xedin · 11y ago · 1 comment

9.

Thrift Server implementation based on LMAX Disruptor(github.com ↗)

7 points · by xedin · 13y ago · discuss

10.

Dynamic Permission Allocation in Cassandra 1.1(datastax.com ↗)

14 points · by xedin · 14y ago · 2 comments

11.

Cassandra 1.2 Startup time improvements.(datastax.com ↗)

32 points · by xedin · 14y ago · 3 comments

12.

The Schema Management Renaissance in Cassandra 1.1(datastax.com ↗)

6 points · by xedin · 14y ago · discuss

13.

Apache Cassandra 1.0 released.(permalink.gmane.org ↗)

68 points · by xedin · 15y ago · 6 comments